use utils joinPath instead of path.join
This commit is contained in:
parent
ce4f75ddc4
commit
ce6c570634
|
@ -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});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue