Skip to content

Commit

Permalink
Merge pull request #2996 from RoelAdriaans/feature/fix-1983-npm
Browse files Browse the repository at this point in the history
Use the --include command, hides warning messages
  • Loading branch information
asottile committed Sep 11, 2023
2 parents 5f4b828 + 493c20c commit 0845e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pre_commit/languages/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def install_environment(
# install as if we installed from git

local_install_cmd = (
'npm', 'install', '--dev', '--prod',
'npm', 'install', '--include=dev', '--include=prod',
'--ignore-prepublish', '--no-progress', '--no-save',
)
lang_base.setup_cmd(prefix, local_install_cmd)
Expand Down

0 comments on commit 0845e4e

Please sign in to comment.