mirror of https://github.com/embarklabs/embark.git
fix(@embark/pipeline): ensure color methods for logs are available
As part of 880a3a6946
, we've introduced a
regression where the `colors` package isn't imported in the scope anymore where it's
needed. In this case the pipeline package. This resulted in log output messages
such as:
```
undefinedwriting fileundefined
```
Adding the `colors` package as dependency and importing it accordingly
fixes the issue.
This commit is contained in:
parent
a10bd69756
commit
8ca6419a4e
|
@ -48,6 +48,7 @@
|
|||
"dependencies": {
|
||||
"@babel/runtime-corejs2": "7.3.1",
|
||||
"async": "2.6.1",
|
||||
"colors": "1.3.2",
|
||||
"embark-core": "^4.1.0-beta.1",
|
||||
"embark-i18n": "^4.1.0-beta.1",
|
||||
"embark-utils": "^4.1.0-beta.1",
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import 'colors';
|
||||
import { ProcessWrapper } from 'embark-core';
|
||||
import { dappPath, errorMessage } from 'embark-utils';
|
||||
const constants = require('embark-core/constants');
|
||||
|
|
Loading…
Reference in New Issue