fixup extra arguments (#113)

This commit is contained in:
Graham Christensen 2024-08-09 14:25:49 -04:00 committed by GitHub
parent 468e81bb99
commit 033f039e5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

2
dist/index.js generated vendored
View file

@ -103364,7 +103364,7 @@ ${stderrBuffer}`
}
if (this.extraArgs) {
const extraArgs = parseArgsStringToArgv(this.extraArgs);
args.concat(extraArgs);
args.push(...extraArgs);
}
this.recordEvent(EVENT_INSTALL_NIX_START);
const exitCode = await exec.exec(binaryPath, args, {

View file

@ -570,7 +570,7 @@ class NixInstallerAction extends DetSysAction {
if (this.extraArgs) {
const extraArgs = stringArgv(this.extraArgs);
args.concat(extraArgs);
args.push(...extraArgs);
}
this.recordEvent(EVENT_INSTALL_NIX_START);