diff --git a/src/services/extensions.ts b/src/services/extensions.ts index 93e584c..72fb0a3 100755 --- a/src/services/extensions.ts +++ b/src/services/extensions.ts @@ -2,13 +2,13 @@ import * as vscode from "vscode"; import { ExtensionId } from "../constants"; import * as fs from "fs-extra"; import { join } from "path"; -import SettingsHelper, { OsType } from "../settingsHelper"; +import SettingsHelper from "../settingsHelper"; import Config from "./config"; import { promisify } from "util"; -import * as child_process from "child_process"; +import * as childProcess from "child_process"; import { Logger } from "./logger"; -const exec = promisify(child_process.exec); +const exec = promisify(childProcess.exec); export class ExtensionInfo { public constructor( diff --git a/src/services/logger.ts b/src/services/logger.ts index 4c82c22..8ed5ace 100755 --- a/src/services/logger.ts +++ b/src/services/logger.ts @@ -6,11 +6,11 @@ export interface Logger { } class OutputChannelLogger implements Logger { - show(preserveFocus?: boolean | undefined): void { + public show(preserveFocus?: boolean | undefined): void { let oc = this.getChannel(); oc.show(preserveFocus); } - appendLine(value: string): void { + public appendLine(value: string): void { let oc = this.getChannel(); oc.appendLine(value);