File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 15
15
node-version : 16.x
16
16
17
17
- name : Install Module Dependencies
18
- run : npm clean-install --no- optional
18
+ run : npm clean-install --omit= optional
19
19
20
20
- name : Lint Project
21
21
run : npm run lint
Original file line number Diff line number Diff line change 19
19
node-version : 16.x
20
20
21
21
- name : Install Module Dependencies
22
- run : npm clean-install --no- optional
22
+ run : npm clean-install --omit= optional
23
23
24
24
- name : Spellcheck Project Documentation
25
25
run : npm run spellcheck-docs
Original file line number Diff line number Diff line change @@ -55,12 +55,12 @@ jobs:
55
55
# be released.
56
56
#
57
57
# 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
59
59
# (i.e., `cpu-features`) package which is used to provide accelerated crypto functionality,
60
60
# but which is a native add-on and would require platform specific packages.
61
61
#
62
62
- name : Install Module Dependencies
63
- run : npm clean-install --no- optional
63
+ run : npm clean-install --omit= optional
64
64
65
65
#
66
66
# Package and Upload Extension
Original file line number Diff line number Diff line change 18
18
node-version : 16.x
19
19
20
20
- name : Install Module Dependencies
21
- run : npm clean-install --no- optional
21
+ run : npm clean-install --omit= optional
22
22
23
23
- name : Test Project
24
24
run : npm test
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ updating package-lock.json as a result of the divergence. Using
235
235
version of the modules, which helps to eliminate any potential variability in
236
236
observed behavior.
237
237
238
- In addition, you should also use the ` --no- optional` switch as part of the
238
+ In addition, you should also use the ` --omit= optional` switch as part of the
239
239
package installation command. There are some modules (e.g., SSH2) which include
240
240
optional functionality that utilizes native code specific to the platform.
241
241
Currently, this extension does not require these platform-specific modules and
@@ -251,7 +251,7 @@ released extension.
251
251
```shell
252
252
git clone https://github.com/WebFreak001/code-debug
253
253
cd code-debug
254
- npm clean-install --no- optional
254
+ npm clean-install --omit= optional
255
255
```
256
256
257
257
## Optional VSCode Extensions (for development)
You can’t perform that action at this time.
0 commit comments