Skip to content

Commit

Permalink
dist update
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Dec 10, 2024
1 parent 977a540 commit 2ef88d1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
4 changes: 3 additions & 1 deletion dist/tools/libs/gitreleasemanager.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ class GitReleaseManagerTool extends DotnetTool {
args.push("--token", settings.token);
settings.targetDirectory = await this.getRepoDir(settings);
args.push("--targetDirectory", settings.targetDirectory);
args.push("--logFilePath", settings.logFilePath);
if (settings.logFilePath) {
args.push("--logFilePath", settings.logFilePath);
}
return args;
}
async getCreateArguments(settings) {
Expand Down
2 changes: 1 addition & 1 deletion dist/tools/libs/gitreleasemanager.mjs.map

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions dist/tools/libs/tools.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,12 @@ class RunnerBase {
try {
this.disableTelemetry();
const result = await action();
this.buildAgent.info(`${this.tool.toolName} Output:`);
this.buildAgent.info("-------------------");
this.buildAgent.info(result.stdout);
this.buildAgent.info("-------------------");
if (result.code === 0) {
this.buildAgent.info(`${this.tool.toolName} Output:`);
this.buildAgent.info("-------------------");
this.buildAgent.info(result.stdout);
this.buildAgent.info("-------------------");
this.buildAgent.debug(`${this.tool.toolName} succeeded`);
this.buildAgent.setSucceeded(successMessage, true);
return result;
} else {
Expand Down
Loading

0 comments on commit 2ef88d1

Please sign in to comment.