Skip to content

Commit f1f6a61

Browse files
Fix code scanning alert no. 270: Disallow unused variables
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent bbd84c6 commit f1f6a61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/manage/Compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export class WatCompiler extends Compiler {
124124
return new Promise<CompileOutput>((resolve, reject) => {
125125
const command = `${this.wabt}/wasm-objdump -x -m ${output.file}`;
126126

127-
const compile = exec(command, (error: ExecException | null, stdout: string, stderr: any) => {
127+
const compile = exec(command, (error: ExecException | null, stdout: string) => {
128128
output.map = this.parseWasmObjDump(output, stdout.toString());
129129
this.emit(CompilationEvents.sourcemap);
130130
resolve(output);

0 commit comments

Comments
 (0)