Skip to content

Commit

Permalink
Fix code scanning alert no. 270: Disallow unused variables
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
tolauwae and github-advanced-security[bot] authored Dec 6, 2024
1 parent bbd84c6 commit f1f6a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manage/Compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class WatCompiler extends Compiler {
return new Promise<CompileOutput>((resolve, reject) => {
const command = `${this.wabt}/wasm-objdump -x -m ${output.file}`;

const compile = exec(command, (error: ExecException | null, stdout: string, stderr: any) => {
const compile = exec(command, (error: ExecException | null, stdout: string) => {
output.map = this.parseWasmObjDump(output, stdout.toString());
this.emit(CompilationEvents.sourcemap);
resolve(output);
Expand Down

0 comments on commit f1f6a61

Please sign in to comment.