From a33b29681e51cf295ffce425550372b4ecdb8874 Mon Sep 17 00:00:00 2001 From: gekangping <35068357+kpge@users.noreply.github.com> Date: Tue, 10 Sep 2019 07:36:25 -0500 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: Florent BENOIT --- .../plugin-ext-vscode/src/node/plugin-vscode-file-handler.ts | 2 +- .../src/main/node/handlers/plugin-theia-file-handler.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugin-ext-vscode/src/node/plugin-vscode-file-handler.ts b/packages/plugin-ext-vscode/src/node/plugin-vscode-file-handler.ts index 50f318d9f70a2..fca18ea8682ac 100644 --- a/packages/plugin-ext-vscode/src/node/plugin-vscode-file-handler.ts +++ b/packages/plugin-ext-vscode/src/node/plugin-vscode-file-handler.ts @@ -38,7 +38,7 @@ export class PluginVsCodeFileHandler implements PluginDeployerFileHandler { async handle(context: PluginDeployerFileHandlerContext): Promise { const unpackedPath = path.resolve(this.unpackedFolder, path.basename(context.pluginEntry().path())); - console.log(`unzipping the plugin '${path.basename(context.pluginEntry().path())}' to directory: ${unpackedPath}`); + console.log(`unzipping the VS Code extension '${path.basename(context.pluginEntry().path())}' to directory: ${unpackedPath}`); await context.unzip(context.pluginEntry().path(), unpackedPath); if (context.pluginEntry().path().endsWith('.tgz')) { diff --git a/packages/plugin-ext/src/main/node/handlers/plugin-theia-file-handler.ts b/packages/plugin-ext/src/main/node/handlers/plugin-theia-file-handler.ts index d8ec03697d1f5..c69e4049aa814 100644 --- a/packages/plugin-ext/src/main/node/handlers/plugin-theia-file-handler.ts +++ b/packages/plugin-ext/src/main/node/handlers/plugin-theia-file-handler.ts @@ -33,7 +33,7 @@ export class PluginTheiaFileHandler implements PluginDeployerFileHandler { async handle(context: PluginDeployerFileHandlerContext): Promise { const unpackedPath = path.resolve(this.unpackedFolder, path.basename(context.pluginEntry().path())); - console.log(`unzipping the plugin '${path.basename(context.pluginEntry().path())}' to directory: ${unpackedPath}`); + console.log(`unzipping the plug-in '${path.basename(context.pluginEntry().path())}' to directory: ${unpackedPath}`); await context.unzip(context.pluginEntry().path(), unpackedPath);