Skip to content

Commit 5ccfdf3

Browse files
committed
fix: fix spawning node-gyp-build-test
1 parent c68a114 commit 5ccfdf3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text eol=lf

bin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var os = require('os')
55
var path = require('path')
66

77
if (!buildFromSource()) {
8-
proc.exec('node-gyp-build-test', function (err, stdout, stderr) {
8+
proc.exec(process.execPath, ['node-gyp-build-test'], function (err, stdout, stderr) {
99
if (err) {
1010
if (verbose()) console.error(stderr)
1111
preinstall()

0 commit comments

Comments
 (0)