fix the open command
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user