From c1e1f110840f7ce26e05fa728c8c4cc12ff7410f Mon Sep 17 00:00:00 2001 From: Marcel Kloubert Date: Sun, 8 Oct 2017 19:52:49 +0200 Subject: [PATCH] minor fixes --- CHANGELOG.md | 2 +- package-lock.json | 2 +- package.json | 2 +- src/operations.ts | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0518d25..851f5f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log (vs-deploy) -## 9.34.0 (October 8th, 2017; placeholders in arguments of 'open' operations) +## 9.34.1 (October 8th, 2017; placeholders in arguments of 'open' operations) * added `usePlaceholdersInArguments` for [open](https://github.com/mkloubert/vs-deploy/wiki/targetoperations#open-) deploy operations diff --git a/package-lock.json b/package-lock.json index ef111e4..963db3b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vs-deploy", - "version": "9.33.0", + "version": "9.34.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 30be072..d6c0734 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": "9.34.0", + "version": "9.34.1", "publisher": "mkloubert", "engines": { "vscode": "^1.6.0" diff --git a/src/operations.ts b/src/operations.ts index 6136ae8..57d1c08 100644 --- a/src/operations.ts +++ b/src/operations.ts @@ -604,14 +604,14 @@ export function open(ctx: OperationContext let app = operationTarget; app = me.replaceWithValues(app); - operationTarget = openArgs.pop(); - openArgs = [ app ].concat(openArgs); + operationTarget = GET_FINAL_ARGS([ openArgs.pop() ])[0]; + openArgs = [ app ].concat( GET_FINAL_ARGS(openArgs) ); } ctx.outputChannel.append(i18.t('deploy.operations.open', operationTarget)); deploy_helpers.open(operationTarget, { - app: GET_FINAL_ARGS(openArgs), + app: openArgs, env: deploy_helpers.makeEnvVarsForProcess(openOperation, me.getValues()), wait: waitForExit, }).then(function() {