mirror of https://github.com/embarklabs/embark.git
need to require('path')
This commit is contained in:
parent
6149921562
commit
4234324640
|
@ -27,7 +27,7 @@ if (!process.env.EMBARK_PATH) {
|
||||||
// dependencies of a dapp without the dapp explicitly specifying embark as a
|
// dependencies of a dapp without the dapp explicitly specifying embark as a
|
||||||
// dependency in the dapp's package.json
|
// dependency in the dapp's package.json
|
||||||
process.env.NODE_PATH = utils.joinPath(process.env.EMBARK_PATH, 'node_modules')
|
process.env.NODE_PATH = utils.joinPath(process.env.EMBARK_PATH, 'node_modules')
|
||||||
+ (process.env.NODE_PATH ? path.delimiter : '')
|
+ (process.env.NODE_PATH ? require('path').delimiter : '')
|
||||||
+ (process.env.NODE_PATH || '');
|
+ (process.env.NODE_PATH || '');
|
||||||
|
|
||||||
class Cmd {
|
class Cmd {
|
||||||
|
|
Loading…
Reference in New Issue