From 033f039e5c752cb1cbc6ac1dd2e59c4ca58adf00 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Fri, 9 Aug 2024 14:25:49 -0400 Subject: [PATCH] fixup extra arguments (#113) --- dist/index.js | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index c47858f..c4f5f72 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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, { diff --git a/src/index.ts b/src/index.ts index 748c277..5f09ab0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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);