diff options
author | Joe George <joe@zeroc.com> | 2023-02-24 10:16:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-24 10:16:43 -0500 |
commit | 8b9cbacefce6c99ce57e0f681adc8f347b25376f (patch) | |
tree | 02e47a7e4b08025f000f928f6909ed093f07453e | |
parent | Avoid using preg_match - Fix #1445 (#1446) (diff) | |
download | ice-8b9cbacefce6c99ce57e0f681adc8f347b25376f.tar.bz2 ice-8b9cbacefce6c99ce57e0f681adc8f347b25376f.tar.xz ice-8b9cbacefce6c99ce57e0f681adc8f347b25376f.zip |
npm: replace --no-optional with --omit=optional (#1448)
Closes #1447
-rw-r--r-- | js/Makefile | 2 | ||||
-rw-r--r-- | js/msbuild/ice.proj | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/js/Makefile b/js/Makefile index 756be444c41..fd8eb177639 100644 --- a/js/Makefile +++ b/js/Makefile @@ -21,4 +21,4 @@ lint: npminstall $(NPM) run lint npminstall: - $(NPM) install --no-optional + $(NPM) install --omit=optional diff --git a/js/msbuild/ice.proj b/js/msbuild/ice.proj index ac343b5be5f..63dd81b6d95 100644 --- a/js/msbuild/ice.proj +++ b/js/msbuild/ice.proj @@ -8,7 +8,7 @@ </PropertyGroup> <Target Name="Build"> - <Exec Command="$(NPM) --no-optional install" + <Exec Command="$(NPM)--omit=optional install" WorkingDirectory="$(MSBuildThisFileDirectory).." StdOutEncoding="utf-8" StdErrEncoding="utf-8" /> @@ -19,7 +19,7 @@ </Target> <Target Name="Clean"> - <Exec Command="$(NPM) --no-optional install" + <Exec Command="$(NPM)--omit=optional install" WorkingDirectory="$(MSBuildThisFileDirectory).." StdOutEncoding="utf-8" StdErrEncoding="utf-8" /> |