use utils joinPath instead of path.join

This commit is contained in:
Iuri Matias 2017-12-16 15:48:54 -05:00
parent ce4f75ddc4
commit ce6c570634
1 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@ let utils = require('../../utils/utils.js');
let solcProcess;
let compilerLoaded = false;
var Npm = require('../../pipeline/npm.js');
let path = require('path');
let currentSolcVersion = require('../../../package.json').dependencies.solc;
class SolcW {
@ -33,7 +32,7 @@ class SolcW {
if (err) {
return done(err);
}
let requirePath = path.join(process.env.PWD, location);
let requirePath = utils.joinPath(process.env.PWD, location);
solcProcess.send({action: 'loadCompiler', solcLocation: requirePath});
});
}