From aa93a2535afc1abd36fe375f01e3244631694e5f Mon Sep 17 00:00:00 2001 From: Neal Beeken Date: Tue, 1 Dec 2020 07:36:24 -0500 Subject: [PATCH] chore: add shell flag to prepare script --- etc/prepare.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/prepare.js b/etc/prepare.js index 49c2a14a733..efbc05a6e76 100755 --- a/etc/prepare.js +++ b/etc/prepare.js @@ -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.');