Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mkloubert committed Dec 1, 2017
1 parent 9da8f09 commit a2df24b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log (vs-deploy)

## 12.0.2 (December 1st, 2017; bugfixes)

* bugfixes

## 12.0.1 (November 27th, 2017; switch target, multi root support and module updates)

* added `autoSelectWorkspace` setting, which can select the current workspace by active text editor automatically
Expand Down
Binary file modified img/screenshot1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vs-deploy",
"displayName": "Deploy",
"description": "Commands for deploying files of your workspace to a destination.",
"version": "12.0.1",
"version": "12.0.2",
"publisher": "mkloubert",
"engines": {
"vscode": "^1.18.0"
Expand Down
8 changes: 6 additions & 2 deletions src/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2371,9 +2371,13 @@ export class Deployer extends Events.EventEmitter implements vscode.Disposable {

const AUTO_SELECT_WORKSPACE_COMPLETED = (err: any) => {
if (err) {
let errMsg = i18.t('workspace.autoSelect.failed', err);
if (deploy_helpers.isEmptyString(errMsg)) {
errMsg = `Could not auto-select workspace: '${deploy_helpers.toStringSafe(err)}'`;
}

vscode.window
.showWarningMessage('[vs-deploy] ' + i18.t('workspace.autoSelect.failed',
err));
.showWarningMessage('[vs-deploy] ' + errMsg);
}
};

Expand Down

0 comments on commit a2df24b

Please sign in to comment.