Don't except if nix flake update fails
This commit is contained in:
parent
743a8831c3
commit
dcd2ee07ca
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -91182,7 +91182,8 @@ var UpdateFlakeLockAction = class extends DetSysAction {
|
||||
})
|
||||
);
|
||||
const execOptions = {
|
||||
cwd: this.pathToFlakeDir !== null ? this.pathToFlakeDir : void 0
|
||||
cwd: this.pathToFlakeDir !== null ? this.pathToFlakeDir : void 0,
|
||||
ignoreReturnCode: true
|
||||
};
|
||||
const exitCode = await exec.exec("nix", nixCommandArgs, execOptions);
|
||||
if (exitCode !== 0) {
|
||||
|
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@ -54,6 +54,7 @@ class UpdateFlakeLockAction extends DetSysAction {
|
||||
|
||||
const execOptions: actionsExec.ExecOptions = {
|
||||
cwd: this.pathToFlakeDir !== null ? this.pathToFlakeDir : undefined,
|
||||
ignoreReturnCode: true,
|
||||
};
|
||||
|
||||
const exitCode = await actionsExec.exec("nix", nixCommandArgs, execOptions);
|
||||
|
Loading…
x
Reference in New Issue
Block a user