summaryrefslogtreecommitdiffstats
path: root/pre_commit/languages
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-10-16 11:14:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-10-16 11:14:57 +0000
commitbdd97c38eaba207665d85bc1ad63341337f41ac6 (patch)
tree2b4ae82c13c4910fd431b44f17532d78deb375b8 /pre_commit/languages
parentReleasing debian version 3.4.0-1. (diff)
downloadpre-commit-bdd97c38eaba207665d85bc1ad63341337f41ac6.tar.xz
pre-commit-bdd97c38eaba207665d85bc1ad63341337f41ac6.zip
Merging upstream version 3.5.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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)