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

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mkloubert committed Oct 8, 2017
1 parent 707620d commit c1e1f11
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
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": "9.34.0",
"version": "9.34.1",
"publisher": "mkloubert",
"engines": {
"vscode": "^1.6.0"
Expand Down
6 changes: 3 additions & 3 deletions src/operations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -604,14 +604,14 @@ export function open(ctx: OperationContext<deploy_contracts.DeployOpenOperation>
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() {
Expand Down

0 comments on commit c1e1f11

Please sign in to comment.