Skip to content

Commit dcd2ee0

Browse files
committed
Don't except if nix flake update fails
1 parent 743a883 commit dcd2ee0

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

dist/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91182,7 +91182,8 @@ var UpdateFlakeLockAction = class extends DetSysAction {
9118291182
})
9118391183
);
9118491184
const execOptions = {
91185-
cwd: this.pathToFlakeDir !== null ? this.pathToFlakeDir : void 0
91185+
cwd: this.pathToFlakeDir !== null ? this.pathToFlakeDir : void 0,
91186+
ignoreReturnCode: true
9118691187
};
9118791188
const exitCode = await exec.exec("nix", nixCommandArgs, execOptions);
9118891189
if (exitCode !== 0) {

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class UpdateFlakeLockAction extends DetSysAction {
5454

5555
const execOptions: actionsExec.ExecOptions = {
5656
cwd: this.pathToFlakeDir !== null ? this.pathToFlakeDir : undefined,
57+
ignoreReturnCode: true,
5758
};
5859

5960
const exitCode = await actionsExec.exec("nix", nixCommandArgs, execOptions);

0 commit comments

Comments
 (0)