Skip to content

Commit

Permalink
Use the --include command, hides warning messages
Browse files Browse the repository at this point in the history
  • Loading branch information
RoelAdriaans authored and shaperilio committed Sep 13, 2023
1 parent 6e9c01f commit ec0e930
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 ec0e930

Please sign in to comment.