make cc happy; use join path
This commit is contained in:
parent
09fbd66417
commit
d4f7eca2c5
|
@ -1,3 +1,4 @@
|
|||
var utils = require('../core/utils.js');
|
||||
var solcProcess;
|
||||
var compilerLoaded = false;
|
||||
|
||||
|
@ -6,7 +7,7 @@ var SolcW = function() {
|
|||
|
||||
SolcW.prototype.load_compiler = function(done) {
|
||||
if (compilerLoaded) { done(); }
|
||||
solcProcess = require('child_process').fork(__dirname + '/solcP.js');
|
||||
solcProcess = require('child_process').fork(utils.joinPath(__dirname, '/solcP.js'));
|
||||
solcProcess.once('message', function(msg) {
|
||||
if (msg.result !== 'loadedCompiler') {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue