Skip to content

Commit

Permalink
fix: fix locate prebuilds
Browse files Browse the repository at this point in the history
  • Loading branch information
andycall committed Feb 23, 2022
1 parent f7d1bbe commit 9b4bb28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Qjsc {
throw new Error('Unsupported QuickJS version: ' + version);
}
// TODO: Multiple quickjs version switch are removed because of prebuilt library.
this._bindings = require('node-gyp-build')();
this._bindings = require('node-gyp-build')(__dirname);
}
help() {
console.log('Supported QuckJS versions: ' + supportedVersions.join(', '));
Expand Down

0 comments on commit 9b4bb28

Please sign in to comment.