Skip to content

Commit 11e4dfb

Browse files
authored
Merge pull request #183 from DeterminateSystems/push-ruywpoonkxqk
Don't except if nix flake update fails
2 parents 743a883 + dcd2ee0 commit 11e4dfb

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)