We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d1a6ab9 + 9c50dbf commit a2daf11Copy full SHA for a2daf11
1 file changed
lib/index.js
@@ -120,7 +120,7 @@ function runNpmScriptIfExists (manifest, script) {
120
let pkgScripts = pkg.scripts;
121
122
if (pkgScripts && pkgScripts[script]) {
123
- exec('npm', ['run', script]);
+ exec('npm', ['run', script], { stdio: 'inherit' });
124
}
125
126
@@ -227,8 +227,8 @@ function git (manifests, options) {
227
* @param {string} command - The command to run
228
* @param {string[]} args - An array of arguments to pass
229
*/
230
-function exec (command, args) {
231
- let result = spawnSync(command, args);
+function exec (command, args, opts) {
+ let result = spawnSync(command, args, opts);
232
233
if (result.status || result.error) {
234
console.error(
0 commit comments