Skip to content

Commit 73d1e09

Browse files
committed
v1.3.0
1 parent d3139be commit 73d1e09

5 files changed

Lines changed: 6 additions & 10 deletions

File tree

lib/msdo-client.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ class MsdoClient {
113113
tool.arg('azdevops');
114114
}
115115
catch (error) {
116-
error('Exception occurred while initializing MSDO:');
117-
error(error);
116+
console.error('Exception occurred while initializing MSDO:');
118117
tl.setResult(tl.TaskResult.Failed, error);
119118
return;
120119
}
@@ -142,7 +141,6 @@ class MsdoClient {
142141
}
143142
}
144143
catch (error) {
145-
error(error);
146144
tl.setResult(tl.TaskResult.Failed, error);
147145
}
148146
});

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "microsoft-security-devops-azdevops-task-lib",
3-
"version": "1.2.4",
3+
"version": "1.3.0",
44
"description": "Microsoft Security DevOps for Azure DevOps task library.",
55
"author": "Microsoft Corporation",
66
"license": "MIT",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "microsoft-security-devops-azdevops-task-lib",
3-
"version": "1.2.4",
3+
"version": "1.3.0",
44
"description": "Microsoft Security DevOps for Azure DevOps task library.",
55
"author": "Microsoft Corporation",
66
"license": "MIT",

src/msdo-client.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ export class MsdoClient {
102102
tool.arg('--telemetry-environment');
103103
tool.arg('azdevops');
104104
} catch (error) {
105-
error('Exception occurred while initializing MSDO:');
106-
error(error);
105+
console.error('Exception occurred while initializing MSDO:');
107106
tl.setResult(tl.TaskResult.Failed, error);
108107
return;
109108
}
@@ -138,7 +137,6 @@ export class MsdoClient {
138137
throw `MSDO CLI exited with an error exit code: ${exitCode}`;
139138
}
140139
} catch (error) {
141-
error(error);
142140
tl.setResult(tl.TaskResult.Failed, error);
143141
}
144142
}

0 commit comments

Comments
 (0)