Skip to content

Commit 7ee4d26

Browse files
Remove unused code (#45652)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
1 parent f886fbf commit 7ee4d26

3 files changed

Lines changed: 6 additions & 64 deletions

File tree

eng/common/pipelines/templates/steps/authenticate-temp-npmrc.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

eng/common/pipelines/templates/steps/create-authenticated-npmrc.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ parameters:
1010
- name: ServiceConnection
1111
type: string
1212
default: ''
13-
- name: SkipAuthentication
14-
type: boolean
15-
default: false
1613

1714
steps:
1815
- pwsh: |
@@ -29,10 +26,9 @@ steps:
2926
displayName: 'Create .npmrc'
3027
condition: ${{ parameters.CustomCondition }}
3128

32-
- ${{ if not(parameters.SkipAuthentication) }}:
33-
- task: npmAuthenticate@0
34-
displayName: Authenticate .npmrc
35-
condition: ${{ parameters.CustomCondition }}
36-
inputs:
37-
workingFile: ${{ parameters.npmrcPath }}
38-
azureDevOpsServiceConnection: ${{ parameters.ServiceConnection }}
29+
- task: npmAuthenticate@0
30+
displayName: Authenticate .npmrc
31+
condition: ${{ parameters.CustomCondition }}
32+
inputs:
33+
workingFile: ${{ parameters.npmrcPath }}
34+
azureDevOpsServiceConnection: ${{ parameters.ServiceConnection }}

eng/common/pipelines/templates/steps/reset-npmrc.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)