Skip to content

Commit aa93a25

Browse files
committed
chore: add shell flag to prepare script
1 parent 43c94b6 commit aa93a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/prepare.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var cp = require('child_process');
33
var fs = require('fs');
44

55
if (fs.existsSync('src')) {
6-
cp.spawn('npm', ['run', 'build:dts'], { stdio: 'inherit' });
6+
cp.spawn('npm', ['run', 'build:dts'], { stdio: 'inherit', shell: true });
77
} else {
88
if (!fs.existsSync('lib')) {
99
console.warn('MongoDB: No compiled javascript present, the driver is not installed correctly.');

0 commit comments

Comments
 (0)