mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-23 21:58:48 +00:00
no separator if proces.env.NODE_PATH is falsy
This commit is contained in:
parent
d4f8dd6608
commit
ba98f76a10
@ -24,7 +24,7 @@ if (!process.env.EMBARK_PATH) {
|
|||||||
// this makes embark's dependencies trasitive dependencies of a dapp without the
|
// this makes embark's dependencies trasitive dependencies of a dapp without the
|
||||||
// dapp explicitly specifying embark as a dependency in the dapp's package.json
|
// dapp explicitly specifying embark as a 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.platform === 'win32' ? ';' : ':')
|
+ (process.env.NODE_PATH ? (process.platform === 'win32' ? ';' : ':') : '')
|
||||||
+ (process.env.NODE_PATH || '');
|
+ (process.env.NODE_PATH || '');
|
||||||
|
|
||||||
class Cmd {
|
class Cmd {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user