Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
40b0ac9b
Commit
40b0ac9b
authored
8 years ago
by
John Weis
Committed by
Christopher Chedeau
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Return proper exit code in bin/react-scripts via spawnSync (
#252
) (#256)
parent
2e20fd13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/react-scripts.js
+2
-1
bin/react-scripts.js
with
2 additions
and
1 deletion
+2
-1
bin/react-scripts.js
+
2
-
1
View file @
40b0ac9b
...
@@ -7,11 +7,12 @@ switch (script) {
...
@@ -7,11 +7,12 @@ switch (script) {
case
'
build
'
:
case
'
build
'
:
case
'
start
'
:
case
'
start
'
:
case
'
eject
'
:
case
'
eject
'
:
spawn
(
var
result
=
spawn
.
sync
(
'
node
'
,
'
node
'
,
[
require
.
resolve
(
'
../scripts/
'
+
script
)].
concat
(
args
),
[
require
.
resolve
(
'
../scripts/
'
+
script
)].
concat
(
args
),
{
stdio
:
'
inherit
'
}
{
stdio
:
'
inherit
'
}
);
);
process
.
exit
(
result
.
status
);
break
;
break
;
default
:
default
:
console
.
log
(
'
Unknown script "
'
+
script
+
'
".
'
);
console
.
log
(
'
Unknown script "
'
+
script
+
'
".
'
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment