We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e16b705 commit f4accf9Copy full SHA for f4accf9
update
@@ -36,8 +36,8 @@ dirs.forEach(function (dir) {
36
37
function readBuiltinVersion (file) {
38
// 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)
+ // return solc(require(path.join(__dirname, dir, file))).version()
+ const filename = path.join(__dirname, dir, file)
41
return cp.execSync(`/usr/bin/env node -e "console.log(require('${filename}').cwrap('version', 'string', [])())"`).toString().trim()
42
}
43
0 commit comments