From 37a5e4317dd103db15f554df34d97cd16ef8aebc Mon Sep 17 00:00:00 2001 From: Dayoung Lee Date: Wed, 14 Sep 2022 22:57:29 +0900 Subject: [PATCH] [lint] Remove unused variables from Toolchain (#1267) This commit removes unused variables and parameters from Toochain. ONE-vscode-DCO-1.0-Signed-off-by: Dayoung Lee --- src/Backend/Toolchain.ts | 2 +- src/Toolchain/DefaultToolchain.ts | 1 - src/Toolchain/ToolchainEnv.ts | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) 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'); } } diff --git a/src/Toolchain/DefaultToolchain.ts b/src/Toolchain/DefaultToolchain.ts index 24565812..36429885 100644 --- a/src/Toolchain/DefaultToolchain.ts +++ b/src/Toolchain/DefaultToolchain.ts @@ -17,7 +17,6 @@ import * as vscode from 'vscode'; import {Toolchain} from '../Backend/Toolchain'; -import {Logger} from '../Utils/Logger'; import {ToolchainEnv} from './ToolchainEnv'; class DefaultToolchain { diff --git a/src/Toolchain/ToolchainEnv.ts b/src/Toolchain/ToolchainEnv.ts index 4d01dd37..7d67cd71 100644 --- a/src/Toolchain/ToolchainEnv.ts +++ b/src/Toolchain/ToolchainEnv.ts @@ -22,8 +22,6 @@ import {Toolchain} from '../Backend/Toolchain'; import {BuilderJob} from '../Job/BuilderJob'; import {Job} from '../Job/Job'; import {WorkFlow} from '../Job/WorkFlow'; -import {Balloon} from '../Utils/Balloon'; -import * as helpers from '../Utils/Helpers'; import {Logger} from '../Utils/Logger'; import {showPasswordQuickInput} from '../View/PasswordQuickInput';