Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
madhurig committed Apr 3, 2018
1 parent eed9901 commit d1109ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tasks/Xcode/Tests/L0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ describe('Xcode L0 Suite', function () {

assert(tr.invokedToolCount === 3, 'should have run xcodebuild for version, build, and archive.');
assert(tr.failed, 'task should have failed');
assert(tr.stdout.indexOf('vso[task.issue type=error;]loc_mock_ExportOptionsPlistInvalidFilePath') >= 0,
assert(tr.stdout.indexOf('##vso[task.issue type=error;]Error: loc_mock_ExportOptionsPlistInvalidFilePath') >= 0,
'Build should show error indicating invalid Plist file path.');

done();
Expand Down
2 changes: 1 addition & 1 deletion Tasks/Xcode/xcode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ async function run() {
tl.setResult(tl.TaskResult.Succeeded, tl.loc('XcodeSuccess'));
}
catch (err) {
tl.setResult(tl.TaskResult.Failed, err.message);
tl.setResult(tl.TaskResult.Failed, err);
}
}

Expand Down

0 comments on commit d1109ed

Please sign in to comment.