Skip to content

Commit 037e562

Browse files
committed
Address comments
1 parent c2b618c commit 037e562

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/native_loader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function loadNativeAddon() {
106106
debug('Running forced node-gyp rebuild...');
107107
execSync('npm run rebuild', {
108108
stdio: 'inherit',
109-
cwd: __dirname + '/..',
109+
cwd: path.join(__dirname, '..'),
110110
timeout: 300000, // 5 minute timeout
111111
});
112112

@@ -170,7 +170,7 @@ function loadNativeAddon() {
170170
debug('Running node-gyp rebuild...');
171171
execSync('npm run rebuild', {
172172
stdio: 'inherit',
173-
cwd: __dirname + '/..',
173+
cwd: path.join(__dirname, '..'),
174174
timeout: 300000, // 5 minute timeout
175175
});
176176

0 commit comments

Comments
 (0)