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. |
||
---|---|---|
.. | ||
src | ||
.babelrc.js | ||
.npmrc | ||
CHANGELOG.md | ||
README.md | ||
package.json | ||
tsconfig.json | ||
tslint.json |