Skip to content

Commit

Permalink
fix(examples): fix itk-wasm run argument passing
Browse files Browse the repository at this point in the history
Remove extra `--`.
  • Loading branch information
thewtex committed Jan 5, 2025
1 parent 1039a24 commit f0791e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/different-input-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"build": "npm run build:wasi",
"build:wasi": "itk-wasm -b wasi-build -i itkwasm/wasi:latest-debug build",
"test": "npm run test:wasi && npm run test:wasi:help",
"test:wasi": "itk-wasm -b wasi-build run different-input-types.wasi.wasm -- -- ./Gourds.png label.png overlay.png",
"test:wasi:help": "itk-wasm -b wasi-build run different-input-types.wasi.wasm -- -- --help"
"test:wasi": "itk-wasm -b wasi-build run different-input-types.wasi.wasm -- ./Gourds.png label.png overlay.png",
"test:wasi:help": "itk-wasm -b wasi-build run different-input-types.wasi.wasm -- --help"
},
"author": "Matt McCormick <[email protected]>",
"license": "Apache-2.0",
Expand Down
6 changes: 3 additions & 3 deletions examples/hello-pipeline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"type": "module",
"scripts": {
"build": "itk-wasm -i itkwasm/wasi build",
"test": "itk-wasm run wasi-build/hello-pipeline.wasi.wasm -- -- cthead1.png",
"test:quiet": "itk-wasm run wasi-build/hello-pipeline.wasi.wasm -- -- --quiet cthead1.png",
"test:help": "itk-wasm run wasi-build/hello-pipeline.wasi.wasm -- -- --help"
"test": "itk-wasm run wasi-build/hello-pipeline.wasi.wasm -- cthead1.png",
"test:quiet": "itk-wasm run wasi-build/hello-pipeline.wasi.wasm -- --quiet cthead1.png",
"test:help": "itk-wasm run wasi-build/hello-pipeline.wasi.wasm -- --help"
},
"author": "Matt McCormick <[email protected]>",
"license": "Apache-2.0",
Expand Down

0 comments on commit f0791e6

Please sign in to comment.