We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af5735f commit bb1a242Copy full SHA for bb1a242
demo/demo.js
@@ -28,9 +28,10 @@ function opts2argv(argv, opts) {
28
29
Object.keys(opts).forEach((key) => {
30
if (key !== "_") {
31
- argv.push("--" + key);
32
if (typeof opts[key] !== "boolean") {
33
- argv.push("" + opts[key]);
+ argv.push("--" + key, "" + opts[key]);
+ } else if (opts[key]) {
34
+ argv.push("--" + key);
35
}
36
37
});
demo/package.json
@@ -62,8 +62,8 @@
62
},
63
"dependencies": {
64
"optionator": "^0.8.1",
65
- "wae-cli": "^0.5.0",
66
- "web-audio-scheduler": "^1.0.1"
+ "wae-cli": "^0.6.0",
+ "web-audio-scheduler": "^1.1.0"
67
68
"license": "MIT",
69
"main": "demo.js",
0 commit comments