Skip to content

Commit

Permalink
pass build properties from react build
Browse files Browse the repository at this point in the history
The runReactScript() function should pass on its build properties
so that scripts that follow it can make use of the build info. For
example the createTarFile() function needs this information to
detect if a tar file should be generated.
  • Loading branch information
asrashley committed May 2, 2023
1 parent 5677473 commit 5de8722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/react-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ function runReactScript(props) {
};
return runCommand('node', [`node_modules/react-scripts/scripts/${command}.js`], buildEnv)
.then((exitCode) => ({
...props,
now,
buildInfo,
exitCode
}));
}
Expand Down

0 comments on commit 5de8722

Please sign in to comment.