We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2249c1 commit 74e6ea2Copy full SHA for 74e6ea2
index.js
@@ -136,10 +136,14 @@ config.repositories.forEach(({ directory, commands }) => {
136
commands.forEach((input) => {
137
const [command, ...args] = input.split(' ');
138
if (typeof command === 'string' && command !== '') {
139
- child_process.spawnSync(command, args, {
+ const { status } = child_process.spawnSync(command, args, {
140
cwd: path.join(config.target, directory),
141
stdio: 'inherit',
142
});
143
+
144
+ if (status !== 0) {
145
+ process.exitCode = status;
146
+ }
147
}
148
149
0 commit comments