Skip to content

Commit

Permalink
remove spec when there is no dev flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
kbukum1 committed Jan 14, 2025
1 parent a4beb0c commit 83ff490
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ def run_pnpm_update_command(dependency_updates, dev_dependency: false)
end

def create_run_pnpm_updater_command(dependency_updates, dev_dependency: false)
flag = dev_dependency ? "--save-dev" : ""
"install #{dependency_updates} --lockfile-only --ignore-workspace-root-check #{flag}"
flag = dev_dependency ? " --save-dev" : ""
"install #{dependency_updates} --lockfile-only --ignore-workspace-root-check#{flag}"
end

def run_pnpm_install
Expand Down

0 comments on commit 83ff490

Please sign in to comment.