Skip to content

Commit

Permalink
fix the only deleted files
Browse files Browse the repository at this point in the history
  • Loading branch information
sima-zhu authored and azure-sdk committed Mar 2, 2022
1 parent cd2378d commit e7c623c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eng/common/pipelines/templates/steps/credscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ steps:
}
Set-Content "${{ parameters.SourceDirectory }}/credscan.tsv" -Value "${{ parameters.SourceDirectory }}/$scanFolder"
}
Get-Content "${{ parameters.SourceDirectory }}/credscan.tsv"
if(Test-Path "${{ parameters.SourceDirectory }}/credscan.tsv") {
Get-Content "${{ parameters.SourceDirectory }}/credscan.tsv"
}
displayName: CredScan setup
- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@3
displayName: CredScan running
Expand Down

0 comments on commit e7c623c

Please sign in to comment.