Skip to content

Commit cad6050

Browse files
hashtagchrisDanny McCormick
authored andcommitted
Add setSecret to mock-task. (microsoft#512)
1 parent a1bbaef commit cad6050

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

node/mock-task.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export function loc(key: string, ...args: any[]): string {
5454
//-----------------------------------------------------
5555
module.exports.getVariable = task.getVariable;
5656
module.exports.setVariable = task.setVariable;
57+
module.exports.setSecret = task.setSecret;
5758
module.exports.getTaskVariable = task.getTaskVariable;
5859
module.exports.setTaskVariable = task.setTaskVariable;
5960
module.exports.getInput = task.getInput;

node/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "azure-pipelines-task-lib",
3-
"version": "3.0.0-preview",
3+
"version": "3.0.1-preview",
44
"description": "Azure Pipelines Task SDK",
55
"main": "./task.js",
66
"typings": "./task.d.ts",
@@ -27,10 +27,10 @@
2727
"dependencies": {
2828
"minimatch": "3.0.4",
2929
"mockery": "^1.7.0",
30-
"uuid": "^3.0.1",
3130
"q": "^1.1.2",
3231
"semver": "^5.1.0",
33-
"shelljs": "^0.3.0"
32+
"shelljs": "^0.3.0",
33+
"uuid": "^3.0.1"
3434
},
3535
"devDependencies": {
3636
"mocha": "5.2.0",

0 commit comments

Comments
 (0)