From c14ed8bc41c732a5692cae58a775c61d158299b6 Mon Sep 17 00:00:00 2001 From: Artem Derevnjuk Date: Mon, 15 Apr 2024 21:58:51 +0400 Subject: [PATCH] enforce shell usage on preinstall and postinstall fixes #83 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index f909751..7729aaf 100644 --- a/index.js +++ b/index.js @@ -182,7 +182,7 @@ function run (cmd, opts, cb) { cwd: opts.cwd, env: opts.env, stdio: 'inherit', - shell: opts.shell, + shell: opts.shell || true, windowsHide: true })