Skip to content

Commit

Permalink
chore: add shell flag to prepare script
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Dec 1, 2020
1 parent 43c94b6 commit aa93a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var cp = require('child_process');
var fs = require('fs');

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

0 comments on commit aa93a25

Please sign in to comment.