Skip to content

Commit f4accf9

Browse files
committed
f
1 parent e16b705 commit f4accf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

update

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ dirs.forEach(function (dir) {
3636

3737
function readBuiltinVersion (file) {
3838
// NOTE: should be using this, but it leaks memory
39-
// return solc(require(path.join(__dirname, '/bin', file))).version()
40-
const filename = path.join(__dirname, '/bin', file)
39+
// return solc(require(path.join(__dirname, dir, file))).version()
40+
const filename = path.join(__dirname, dir, file)
4141
return cp.execSync(`/usr/bin/env node -e "console.log(require('${filename}').cwrap('version', 'string', [])())"`).toString().trim()
4242
}
4343

0 commit comments

Comments
 (0)