From ff3a7234905b659109575413bfc9877d8e65d375 Mon Sep 17 00:00:00 2001 From: sergxerj <72986199+sergxerj@users.noreply.github.com> Date: Tue, 4 Jul 2023 20:38:47 -0500 Subject: [PATCH] fix issue extractArchive dest doesn't work #29 --- src/utility.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utility.ts b/src/utility.ts index f991804..ac69200 100644 --- a/src/utility.ts +++ b/src/utility.ts @@ -80,7 +80,7 @@ export function Run( // Parse and add command (non-switches parameters) to `args`. let regexpCommands = /"((?:\\.|[^"\\])*)"/g; let commands = command.match(regexpCommands) || []; - for (command of commands) { + for (let command of commands) { const arg = command.replace(/(\/|\\)/g, sep); args.push(normalize(arg)); }