Update deprecated `npm` option `--no-optional` to `--omit=optional`. · WebFreak001/code-debug@60376b9 · GitHub
Skip to content

Commit 60376b9

Browse files
committed
Update deprecated npm option --no-optional to --omit=optional.
1 parent 0765712 commit 60376b9

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎.github/workflows/lint.yml‎

Lines changed: 1 addition & 1 deletion

‎.github/workflows/lint_docs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
node-version: 16.x
2020

2121
- name: Install Module Dependencies
22-
run: npm clean-install --no-optional
22+
run: npm clean-install --omit=optional
2323

2424
- name: Spellcheck Project Documentation
2525
run: npm run spellcheck-docs

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ jobs:
5555
# be released.
5656
#
5757
# NOTE:
58-
# Use the `--no-optional` switch to prevent installation of the `ssh2` optional dependency
58+
# Use the `--omit=optional` switch to prevent installation of the `ssh2` optional dependency
5959
# (i.e., `cpu-features`) package which is used to provide accelerated crypto functionality,
6060
# but which is a native add-on and would require platform specific packages.
6161
#
6262
- name: Install Module Dependencies
63-
run: npm clean-install --no-optional
63+
run: npm clean-install --omit=optional
6464

6565
#
6666
# Package and Upload Extension

‎.github/workflows/unit_test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
node-version: 16.x
1919

2020
- name: Install Module Dependencies
21-
run: npm clean-install --no-optional
21+
run: npm clean-install --omit=optional
2222

2323
- name: Test Project
2424
run: npm test

‎HACKING.md‎

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)