Skip to content

Commit f0791e6

Browse files
committed
fix(examples): fix itk-wasm run argument passing
Remove extra `--`.
1 parent 1039a24 commit f0791e6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

examples/different-input-types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"build": "npm run build:wasi",
88
"build:wasi": "itk-wasm -b wasi-build -i itkwasm/wasi:latest-debug build",
99
"test": "npm run test:wasi && npm run test:wasi:help",
10-
"test:wasi": "itk-wasm -b wasi-build run different-input-types.wasi.wasm -- -- ./Gourds.png label.png overlay.png",
11-
"test:wasi:help": "itk-wasm -b wasi-build run different-input-types.wasi.wasm -- -- --help"
10+
"test:wasi": "itk-wasm -b wasi-build run different-input-types.wasi.wasm -- ./Gourds.png label.png overlay.png",
11+
"test:wasi:help": "itk-wasm -b wasi-build run different-input-types.wasi.wasm -- --help"
1212
},
1313
"author": "Matt McCormick <matt@mmmccormick.com>",
1414
"license": "Apache-2.0",

examples/hello-pipeline/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"type": "module",
66
"scripts": {
77
"build": "itk-wasm -i itkwasm/wasi build",
8-
"test": "itk-wasm run wasi-build/hello-pipeline.wasi.wasm -- -- cthead1.png",
9-
"test:quiet": "itk-wasm run wasi-build/hello-pipeline.wasi.wasm -- -- --quiet cthead1.png",
10-
"test:help": "itk-wasm run wasi-build/hello-pipeline.wasi.wasm -- -- --help"
8+
"test": "itk-wasm run wasi-build/hello-pipeline.wasi.wasm -- cthead1.png",
9+
"test:quiet": "itk-wasm run wasi-build/hello-pipeline.wasi.wasm -- --quiet cthead1.png",
10+
"test:help": "itk-wasm run wasi-build/hello-pipeline.wasi.wasm -- --help"
1111
},
1212
"author": "Matt McCormick <matt@mmmccormick.com>",
1313
"license": "Apache-2.0",

0 commit comments

Comments
 (0)