prefer path.delimiter

This commit is contained in:
Michael Bradley, Jr 2018-08-20 13:36:02 -05:00
parent d14ee86c32
commit 1e97a6478b
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ if (!process.env.EMBARK_PATH) {
// dependencies of a dapp without the 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 ? (process.platform === 'win32' ? ';' : ':') : '')
+ (process.env.NODE_PATH ? path.delimiter : '')
+ (process.env.NODE_PATH || '');
class Cmd {