diff --git a/CHANGELOG.md b/CHANGELOG.md index d1f8b04..fb75bed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/img/screenshot1.png b/img/screenshot1.png index 6bbc24f..371a081 100644 Binary files a/img/screenshot1.png and b/img/screenshot1.png differ diff --git a/package-lock.json b/package-lock.json index e3c7038..ee85edb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vs-deploy", - "version": "12.0.0", + "version": "12.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index e615a8c..7b22d87 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/src/deploy.ts b/src/deploy.ts index 572fb71..e9b943d 100644 --- a/src/deploy.ts +++ b/src/deploy.ts @@ -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); } };