Skip to content

Commit 9f1bade

Browse files
committed
fixup! ncu-ci: command to start CI for PRs
1 parent abd7cd1 commit 9f1bade

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

bin/ncu-ci

+2-5
Original file line numberDiff line numberDiff line change
@@ -208,15 +208,12 @@ class RunPRJobCommand {
208208
validArgs = false;
209209
}
210210
if (!validArgs) {
211-
// TODO(mmarchini): change to our API once #443 lands
212-
// this.cli.setExitCode(1);
213-
process.exitCode = 1;
211+
this.cli.setExitCode(1);
214212
return;
215213
}
216214
const jobRunner = new RunPRJob(cli, request, owner, repo, prid);
217215
if (!jobRunner.start()) {
218-
// TODO(mmarchini): change to our API once #443 lands
219-
// this.cli.setExitCode(1);
216+
this.cli.setExitCode(1);
220217
process.exitCode = 1;
221218
}
222219
}

0 commit comments

Comments
 (0)