Skip to content

Commit

Permalink
Merge pull request #121 from ianwremmel/issue/120-double-dash
Browse files Browse the repository at this point in the history
fix --
  • Loading branch information
ianwremmel committed Apr 24, 2018
2 parents de26fa3 + 1816c00 commit adaf0b9
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 adaf0b9

Please sign in to comment.