Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): call pnpm run without -- for pnpm v7 #10305

Merged
merged 1 commit into from
May 16, 2022

Commits on May 16, 2022

  1. fix(core): call pnpm run without -- for pnpm v7

    Starting in pnpm v7 all command line arguments after the script name are passed to a script's arguments when using `pnpm run <script>`, including `--`. This can cause problems when there are no command line arguments, because it will pass `--` without anything following, which some scripts can't handle. In order to preserve the old functionality, we check if the pnpm version is less than 7.0.0. If it is, we include `--` before the args, otherwise we don't.
    
    Closes nrwl#10111
    Methuselah96 committed May 16, 2022
    Configuration menu
    Copy the full SHA
    707a3b4 View commit details
    Browse the repository at this point in the history