mirror of
https://github.com/DeterminateSystems/update-flake-lock.git
synced 2025-07-01 10:53:49 +03:00
Don't except if nix flake update fails
This commit is contained in:
parent
743a8831c3
commit
dcd2ee07ca
3 changed files with 4 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue