Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
port display name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanmacfarlane committed Apr 4, 2016
1 parent 9901990 commit 9c08af1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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": "vsoagent-installer",
"description": "Visual Studio Xplat Build Agent Installer",
"main": "bin/install.js",
"version": "0.6.0",
"version": "0.6.1",
"vsoAgentInfo": {
"serviceMilestone": "1.999.0"
},
Expand Down
6 changes: 3 additions & 3 deletions src/agent/job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export class JobRunner {
});

if (item.enabled) {
taskContext.setTaskStarted(item.name);
taskContext.setTaskStarted(item.displayName);

_this.runTask(item, taskContext, (err) => {
var taskResult: agentifm.TaskResult = taskContext.result;
Expand All @@ -247,7 +247,7 @@ export class JobRunner {
}

trace.write('taskResult: ' + taskResult);
taskContext.setTaskResult(item.name, taskResult);
taskContext.setTaskResult(item.displayName, taskResult);

taskContext.end();
done(err);
Expand All @@ -257,7 +257,7 @@ export class JobRunner {
var err = '';
var taskResult: agentifm.TaskResult = agentifm.TaskResult.Skipped;
trace.write('taskResult: ' + taskResult);
taskContext.setTaskResult(item.name, taskResult);
taskContext.setTaskResult(item.displayName, taskResult);
done(err);
}
}, function (err) {
Expand Down

0 comments on commit 9c08af1

Please sign in to comment.