Skip to content

Commit

Permalink
fix(run): inject -- only when appropriate
Browse files Browse the repository at this point in the history
Fixes #120
  • Loading branch information
ianwremmel committed Apr 23, 2018
1 parent 536a319 commit a5ecd17
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/lib/packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,7 @@ export async function execScript({
}

debug(f`Falling back to run ${scriptName} in ${packageName}`);
return exec(
args ? `${fallbackScript} -- ${args}` : fallbackScript,
packageName,
);
return exec(args ? `${fallbackScript} ${args}` : fallbackScript, packageName);
}

export namespace execScript {
Expand Down

0 comments on commit a5ecd17

Please sign in to comment.