Skip to content

Commit 62378a2

Browse files
authored
Merge pull request #32 from sergxerj/fix-issue-29
Fix issue 29
2 parents 3d28076 + 5a0b933 commit 62378a2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
"Quentin Rossetti <quentin.rossetti@gmail.com>",
4444
"František Gič <frantisek.gic@gmail.com>",
4545
"Oskar Larsson Högfeldt <g@oskar-lh.name>",
46-
"Amin Yahyaabadi <aminyahyaabadi74@gmail.com>"
46+
"Amin Yahyaabadi <aminyahyaabadi74@gmail.com>",
47+
"sergxerj"
4748
],
4849
"license": "MIT",
4950
"bugs": {

src/utility.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export function Run(
8080
// Parse and add command (non-switches parameters) to `args`.
8181
let regexpCommands = /"((?:\\.|[^"\\])*)"/g;
8282
let commands = command.match(regexpCommands) || [];
83-
for (command of commands) {
83+
for (let command of commands) {
8484
const arg = command.replace(/(\/|\\)/g, sep);
8585
args.push(normalize(arg));
8686
}

0 commit comments

Comments
 (0)