From 0ca5ccd915b6ff78a2d48f1e9dc929ccc24d0499 Mon Sep 17 00:00:00 2001 From: Dayoung Lee Date: Thu, 8 Sep 2022 16:52:10 +0900 Subject: [PATCH] [lint] Add underscores to unused parameters in Backend This commit adds underscores to unused parameters in Backend. ONE-vscode-DCO-1.0-Signed-off-by: Dayoung Lee --- src/Backend/Compiler.ts | 4 ++-- src/Backend/Toolchain.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Backend/Compiler.ts b/src/Backend/Compiler.ts index 9af37e51..b7625207 100644 --- a/src/Backend/Compiler.ts +++ b/src/Backend/Compiler.ts @@ -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'); } diff --git a/src/Backend/Toolchain.ts b/src/Backend/Toolchain.ts index 006f25a5..bc86200c 100644 --- a/src/Backend/Toolchain.ts +++ b/src/Backend/Toolchain.ts @@ -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'); } }