Skip to content

Commit 66e0301

Browse files
authored
Fixing deprecation notice messages in PipAuthenticateV0 and TwineAuthenticateV0 (#21931)
* invoke deprecation message after task.json is loaded * invoke deprecation message after task.json is loaded
1 parent 3c7d839 commit 66e0301

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Tasks/PipAuthenticateV0/pipauthenticatemain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import * as utils from "./utilities";
77
import { getProjectAndFeedIdFromInput, logError } from 'azure-pipelines-tasks-packaging-common/util';
88

99
async function main(): Promise<void> {
10-
tl.warning(tl.loc("TaskDeprecationNotice"));
1110
tl.setResourcePath(path.join(__dirname, "task.json"));
11+
tl.warning(tl.loc("TaskDeprecationNotice"));
1212

1313
try {
1414
let packagingLocation: string;

Tasks/PipAuthenticateV0/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"category": "Package",
1010
"version": {
1111
"Major": 0,
12-
"Minor": 271,
12+
"Minor": 272,
1313
"Patch": 0
1414
},
1515
"runsOn": [

Tasks/PipAuthenticateV0/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"category": "Package",
1010
"version": {
1111
"Major": 0,
12-
"Minor": 271,
12+
"Minor": 272,
1313
"Patch": 0
1414
},
1515
"runsOn": [

Tasks/TwineAuthenticateV0/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"category": "Package",
1010
"version": {
1111
"Major": 0,
12-
"Minor": 271,
12+
"Minor": 272,
1313
"Patch": 0
1414
},
1515
"runsOn": [

Tasks/TwineAuthenticateV0/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"category": "Package",
1010
"version": {
1111
"Major": 0,
12-
"Minor": 271,
12+
"Minor": 272,
1313
"Patch": 0
1414
},
1515
"runsOn": [

Tasks/TwineAuthenticateV0/twineauthenticatemain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export class Repository
2424
}
2525

2626
async function main(): Promise<void> {
27-
tl.warning(tl.loc("TaskDeprecationNotice"));
2827
tl.setResourcePath(path.join(__dirname, "task.json"));
28+
tl.warning(tl.loc("TaskDeprecationNotice"));
2929
try {
3030
// Local feeds
3131
const internalFeeds = await auth.getInternalAuthInfoArray("feedList");

0 commit comments

Comments
 (0)