Skip to content

Commit

Permalink
[lint] Add underscores to unused parameters in Backend
Browse files Browse the repository at this point in the history
This commit adds underscores to unused parameters in Backend.

ONE-vscode-DCO-1.0-Signed-off-by: Dayoung Lee <[email protected]>
  • Loading branch information
dayo09 committed Sep 14, 2022
1 parent 00d72f2 commit 0ca5ccd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Backend/Compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ class CompilerBase implements Compiler {
throw Error('Invalid getToolchainTypes call');
}

getToolchains(toolchainType: string, start: number, count: number): Toolchains {
getToolchains(_toolchainType: string, _start: number, _count: number): Toolchains {
throw Error('Invalid getToolchains call');
}

getInstalledToolchains(toolchainType: string): Toolchains {
getInstalledToolchains(_toolchainType: string): Toolchains {
throw Error('Invalid getInstalledToolchains call');
}

Expand Down
2 changes: 1 addition & 1 deletion src/Backend/Toolchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class Toolchain {
installed(): Command {
throw Error('Invalid installed call');
}
run(cfg: string): Command {
run(_cfg: string): Command {
throw Error('Invalid run call');
}
}
Expand Down

0 comments on commit 0ca5ccd

Please sign in to comment.