From d1109ed189804b3618b490d119522674859b068c Mon Sep 17 00:00:00 2001 From: madhurig Date: Tue, 3 Apr 2018 12:11:34 -0400 Subject: [PATCH] PR feedback --- Tasks/Xcode/Tests/L0.ts | 2 +- Tasks/Xcode/xcode.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tasks/Xcode/Tests/L0.ts b/Tasks/Xcode/Tests/L0.ts index de7ec8e607fb..15f37e6e0805 100644 --- a/Tasks/Xcode/Tests/L0.ts +++ b/Tasks/Xcode/Tests/L0.ts @@ -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(); diff --git a/Tasks/Xcode/xcode.ts b/Tasks/Xcode/xcode.ts index 86c3bc4aa31d..f6a1110b7996 100644 --- a/Tasks/Xcode/xcode.ts +++ b/Tasks/Xcode/xcode.ts @@ -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); } }