fix the open command

This commit is contained in:
Artur Stolear
2020-02-10 15:39:54 +02:00
parent b0dbca979a
commit fe485e5aab
3 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{
"id": "5d437bf5-f193-4449-b531-c4c69eebaa48",
"name": "gitreleasemanager/open",
"friendlyName": "Discard GitReleaseManager Task",
"friendlyName": "Open GitReleaseManager Task",
"description": "Tool for creating and exporting releases for software applications hosted on GitHub",
"author": "GitTools Contributors",
"helpMarkDown": "See the [documentation](https://gittools.github.io/GitReleaseManager/docs/) for help",

View File

@@ -77,7 +77,7 @@ export async function open() {
const settings = Settings.getOpenSettings(buildAgent);
await gitReleaseManagerTool.close(settings);
await gitReleaseManagerTool.open(settings);
buildAgent.setSucceeded("GitVersionManager opened release successfully", true);
} catch (error) {

View File

@@ -54,7 +54,7 @@ export class GitReleaseManagerTool extends DotnetTool implements IGitReleaseMana
}
public open(settings: GitReleaseManagerOpenSettings): Promise<IExecResult> {
const args = this.getCloseArguments(settings);
const args = this.getOpenArguments(settings);
return this.execute("dotnet-gitreleasemanager", args);
}