mirror of https://github.com/embarklabs/embark.git
9d81fc5b1c
When passing the name of a build pipeline that doesn't exist, e.g. `embark run|build --pipeline foo`, `writeStats` would cause an unhandled promise rejection because its config argument is falsy. Checking for that and returning early from `writeStats` allows the `"no webpack config has the name 'foo'"` error to be reported correctly. |
||
---|---|---|
.. | ||
babel-loader-overrides.js | ||
index.js | ||
webpack.config.js | ||
webpackConfigReader.js | ||
webpackProcess.js |