Merge pull request #51 from redsift/fix/build

Fix the build process.
This commit is contained in:
Kenton Varda authored and GitHub committed 2020-01-07 10:56:44 -06:00
commit 5e8c4c0b1b
1 file changed
+1 -1
+1 -1
View File
@@ -76,6 +76,7 @@ function build() {
process.platform === 'win32' ? 'node-gyp.cmd' : 'node-gyp',
['rebuild'].concat(args),
{customFds: [0, 1, 2]})
.on('close', function(){ afterBuild(); })
.on('exit', function(err) {
if (err) {
if (err === 127) {
@@ -88,7 +89,6 @@ function build() {
}
return process.exit(err);
}
afterBuild();
});
}