Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Florent BENOIT <fbenoit@redhat.com>
  • Loading branch information
kpge and benoitf authored Sep 10, 2019
1 parent f3d972d commit a33b296
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class PluginVsCodeFileHandler implements PluginDeployerFileHandler {

async handle(context: PluginDeployerFileHandlerContext): Promise<void> {
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')) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class PluginTheiaFileHandler implements PluginDeployerFileHandler {

async handle(context: PluginDeployerFileHandlerContext): Promise<void> {
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);

Expand Down

0 comments on commit a33b296

Please sign in to comment.