From 78c227c2f899699aa83c083fd8ae67395eabb9cc Mon Sep 17 00:00:00 2001 From: Marcin Strzyz <37447884+mastrzyz@users.noreply.github.com> Date: Fri, 11 Feb 2022 10:11:05 -0800 Subject: [PATCH 1/5] Update npmauth.ts --- Tasks/NpmAuthenticateV0/npmauth.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tasks/NpmAuthenticateV0/npmauth.ts b/Tasks/NpmAuthenticateV0/npmauth.ts index 2ce88491cc00..0c90d77ea9c6 100644 --- a/Tasks/NpmAuthenticateV0/npmauth.ts +++ b/Tasks/NpmAuthenticateV0/npmauth.ts @@ -118,6 +118,9 @@ async function main(): Promise { main().catch(error => { if(tl.getVariable("NPM_AUTHENTICATE_TEMP_DIRECTORY")) { tl.rmRF(tl.getVariable("NPM_AUTHENTICATE_TEMP_DIRECTORY")); + // Clear the variales after we rm-rf the main root directory + tl.setVariable("SAVE_NPMRC_PATH", "", false); + tl.setVariable("NPM_AUTHENTICATE_TEMP_DIRECTORY", "", false); } tl.setResult(tl.TaskResult.Failed, error); }); From 594fdb9fb37e45eb85b039ad492091a450efb84d Mon Sep 17 00:00:00 2001 From: Marcin Strzyz <37447884+mastrzyz@users.noreply.github.com> Date: Fri, 11 Feb 2022 11:39:31 -0800 Subject: [PATCH 2/5] Update task.json --- Tasks/NpmAuthenticateV0/task.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tasks/NpmAuthenticateV0/task.json b/Tasks/NpmAuthenticateV0/task.json index 707ea00940d3..2bd6aea4196f 100644 --- a/Tasks/NpmAuthenticateV0/task.json +++ b/Tasks/NpmAuthenticateV0/task.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 198, + "Minor": 200, "Patch": 0 }, "runsOn": [ From 4a581818b15e42e87c27995103274f0a3e9070c7 Mon Sep 17 00:00:00 2001 From: Marcin Strzyz <37447884+mastrzyz@users.noreply.github.com> Date: Fri, 11 Feb 2022 11:39:44 -0800 Subject: [PATCH 3/5] Update task.loc.json --- Tasks/NpmAuthenticateV0/task.loc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tasks/NpmAuthenticateV0/task.loc.json b/Tasks/NpmAuthenticateV0/task.loc.json index e3564dd1ba48..116c98c34eda 100644 --- a/Tasks/NpmAuthenticateV0/task.loc.json +++ b/Tasks/NpmAuthenticateV0/task.loc.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 198, + "Minor": 200, "Patch": 0 }, "runsOn": [ From 50c08a3857a67b380df962bed89253b2b7d0463d Mon Sep 17 00:00:00 2001 From: Marcin Strzyz <37447884+mastrzyz@users.noreply.github.com> Date: Wed, 16 Feb 2022 11:30:47 -0800 Subject: [PATCH 4/5] Update npmauth.ts --- Tasks/NpmAuthenticateV0/npmauth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tasks/NpmAuthenticateV0/npmauth.ts b/Tasks/NpmAuthenticateV0/npmauth.ts index 0c90d77ea9c6..12eadb317b8e 100644 --- a/Tasks/NpmAuthenticateV0/npmauth.ts +++ b/Tasks/NpmAuthenticateV0/npmauth.ts @@ -118,7 +118,7 @@ async function main(): Promise { main().catch(error => { if(tl.getVariable("NPM_AUTHENTICATE_TEMP_DIRECTORY")) { tl.rmRF(tl.getVariable("NPM_AUTHENTICATE_TEMP_DIRECTORY")); - // Clear the variales after we rm-rf the main root directory + // Clear the variables after we rm-rf the main root directory tl.setVariable("SAVE_NPMRC_PATH", "", false); tl.setVariable("NPM_AUTHENTICATE_TEMP_DIRECTORY", "", false); } From 206409d9b52278ace8e8ce67c31b7791a7159db8 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 17 Feb 2022 13:33:47 -0800 Subject: [PATCH 5/5] RED --- Tasks/NpmAuthenticateV0/task.json | 2 +- Tasks/NpmAuthenticateV0/task.loc.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tasks/NpmAuthenticateV0/task.json b/Tasks/NpmAuthenticateV0/task.json index 2bd6aea4196f..2cc2a896650a 100644 --- a/Tasks/NpmAuthenticateV0/task.json +++ b/Tasks/NpmAuthenticateV0/task.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 200, + "Minor": 201, "Patch": 0 }, "runsOn": [ diff --git a/Tasks/NpmAuthenticateV0/task.loc.json b/Tasks/NpmAuthenticateV0/task.loc.json index 116c98c34eda..7c03222855b0 100644 --- a/Tasks/NpmAuthenticateV0/task.loc.json +++ b/Tasks/NpmAuthenticateV0/task.loc.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 200, + "Minor": 201, "Patch": 0 }, "runsOn": [