File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,9 @@ async function main(): Promise<void> {
118118main ( ) . catch ( error => {
119119 if ( tl . getVariable ( "NPM_AUTHENTICATE_TEMP_DIRECTORY" ) ) {
120120 tl . rmRF ( tl . getVariable ( "NPM_AUTHENTICATE_TEMP_DIRECTORY" ) ) ;
121+ // Clear the variables after we rm-rf the main root directory
122+ tl . setVariable ( "SAVE_NPMRC_PATH" , "" , false ) ;
123+ tl . setVariable ( "NPM_AUTHENTICATE_TEMP_DIRECTORY" , "" , false ) ;
121124 }
122125 tl . setResult ( tl . TaskResult . Failed , error ) ;
123126} ) ;
Original file line number Diff line number Diff line change 99 "author" : " Microsoft Corporation" ,
1010 "version" : {
1111 "Major" : 0 ,
12- "Minor" : 198 ,
12+ "Minor" : 200 ,
1313 "Patch" : 0
1414 },
1515 "runsOn" : [
Original file line number Diff line number Diff line change 99 "author" : " Microsoft Corporation" ,
1010 "version" : {
1111 "Major" : 0 ,
12- "Minor" : 198 ,
12+ "Minor" : 200 ,
1313 "Patch" : 0
1414 },
1515 "runsOn" : [
You can’t perform that action at this time.
0 commit comments