-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't set
stdioString
for any spawn/run-script calls
These libraries now return strings by default which is what we always want in the CLI for error reporting. Fixes npm#5766
- Loading branch information
1 parent
abfb28b
commit 1f5382d
Showing
14 changed files
with
9 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,7 +125,6 @@ t.test('default env, start, and restart scripts', t => { | |
args: [], | ||
scriptShell: undefined, | ||
stdio: 'inherit', | ||
stdioString: true, | ||
pkg: { name: 'x', version: '1.2.3', _id: '[email protected]', scripts: {} }, | ||
event: 'start', | ||
}, | ||
|
@@ -140,7 +139,6 @@ t.test('default env, start, and restart scripts', t => { | |
args: [], | ||
scriptShell: undefined, | ||
stdio: 'inherit', | ||
stdioString: true, | ||
pkg: { | ||
name: 'x', | ||
version: '1.2.3', | ||
|
@@ -162,7 +160,6 @@ t.test('default env, start, and restart scripts', t => { | |
args: [], | ||
scriptShell: undefined, | ||
stdio: 'inherit', | ||
stdioString: true, | ||
pkg: { | ||
name: 'x', | ||
version: '1.2.3', | ||
|
@@ -185,7 +182,6 @@ t.test('default env, start, and restart scripts', t => { | |
args: [], | ||
scriptShell: undefined, | ||
stdio: 'inherit', | ||
stdioString: true, | ||
pkg: { | ||
name: 'x', | ||
version: '1.2.3', | ||
|
@@ -220,7 +216,6 @@ t.test('non-default env script', t => { | |
args: [], | ||
scriptShell: undefined, | ||
stdio: 'inherit', | ||
stdioString: true, | ||
pkg: { | ||
name: 'x', | ||
version: '1.2.3', | ||
|
@@ -242,7 +237,6 @@ t.test('non-default env script', t => { | |
args: [], | ||
scriptShell: undefined, | ||
stdio: 'inherit', | ||
stdioString: true, | ||
pkg: { | ||
name: 'x', | ||
version: '1.2.3', | ||
|
@@ -305,7 +299,6 @@ t.test('run pre/post hooks', async t => { | |
args: [], | ||
scriptShell: undefined, | ||
stdio: 'inherit', | ||
stdioString: true, | ||
pkg: { | ||
name: 'x', | ||
version: '1.2.3', | ||
|
@@ -342,7 +335,6 @@ t.test('skip pre/post hooks when using ignoreScripts', async t => { | |
args: [], | ||
scriptShell: undefined, | ||
stdio: 'inherit', | ||
stdioString: true, | ||
pkg: { | ||
name: 'x', | ||
version: '1.2.3', | ||
|
@@ -385,7 +377,6 @@ t.test('run silent', async t => { | |
args: [], | ||
scriptShell: undefined, | ||
stdio: 'inherit', | ||
stdioString: true, | ||
pkg: { | ||
name: 'x', | ||
version: '1.2.3', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters