Skip to content

Commit 7cfc8a2

Browse files
committed
Fix 'Disallow unused variables' in Compiler.ts
1 parent f1f6a61 commit 7cfc8a2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/manage/Compiler.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class WatCompiler extends Compiler {
9898
let out: string = '';
9999
let err: string = '';
100100

101-
function handle(error: ExecException | null, stdout: string, stderr: string) {
101+
function handle(error: ExecException | null, stdout: string) {
102102
out = stdout;
103103
err = error?.message ?? '';
104104
}
@@ -217,7 +217,7 @@ export class AsScriptCompiler extends Compiler {
217217
let out: string = '';
218218
let err: string = '';
219219

220-
function handle(error: ExecException | null, stdout: string, stderr: any) {
220+
function handle(error: ExecException | null, stdout: string) {
221221
out = stdout;
222222
err = error?.message ?? '';
223223
}
@@ -250,7 +250,7 @@ export class AsScriptCompiler extends Compiler {
250250
let out: string = '';
251251
let err: string = '';
252252

253-
function handle(error: ExecException | null, stdout: string, stderr: any) {
253+
function handle(error: ExecException | null, stdout: string) {
254254
out = stdout;
255255
err = error?.message ?? '';
256256
}

0 commit comments

Comments
 (0)