Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
change order of args
  • Loading branch information
jamesgeorge007 committed Jun 21, 2019
1 parent a9ecef2 commit 3731cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/tools/packageManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function configurePackageManager(
const pmConfig = packageManagers[pm];

const [executable, ...flags] = pmConfig[action];
const args = [executable, ...packageNames, ...flags];
const args = [executable, ...flags, ...packageNames];
return executeCommand(pm, args, options);
}

Expand Down

0 comments on commit 3731cd6

Please sign in to comment.