diff --git a/Makefile b/Makefile index 165f246..8a86e5e 100644 --- a/Makefile +++ b/Makefile @@ -108,7 +108,7 @@ out/vcd.wasm: $(WASM_MAIN) $(CPP_FILES) $(HPP_FILES) Makefile -.PHONY: all build watch dev start test pretest lint jestc copydist cleandist +.PHONY: all build watch dev start test pretest lint jestc copydist cleandist prepare .PHONY: test testonly @@ -121,6 +121,9 @@ test: testonly: npm run testonly +prepare: + npm run prepare + clean: rm -rf out/* diff --git a/lib/wasmparser.js b/lib/wasmparser.js index fde3c55..5786948 100644 --- a/lib/wasmparser.js +++ b/lib/wasmparser.js @@ -16,7 +16,7 @@ module.exports = async () => { const s = new stream.Writable(); - // gets called by c with 1 argument, a number + // gets called by c with 1 argument, a string const lifemit = s.emit.bind(s); const triee = new EventEmitter();