summaryrefslogtreecommitdiffstats
path: root/pre_commit/languages/node.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-10-16 11:14:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-10-16 11:14:53 +0000
commit6f3c2569123ded17267e6170f9e423099bb21631 (patch)
treee27acba09e32d75e51a7587d891821a2ee4cb985 /pre_commit/languages/node.py
parentAdding upstream version 3.4.0. (diff)
downloadpre-commit-6f3c2569123ded17267e6170f9e423099bb21631.tar.xz
pre-commit-6f3c2569123ded17267e6170f9e423099bb21631.zip
Adding upstream version 3.5.0.upstream/3.5.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pre_commit/languages/node.py')
-rw-r--r--pre_commit/languages/node.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pre_commit/languages/node.py b/pre_commit/languages/node.py
index 66d6136..3e22dc7 100644
--- a/pre_commit/languages/node.py
+++ b/pre_commit/languages/node.py
@@ -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)