You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: eng/common/internal-feed-operations.ps1
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -63,8 +63,6 @@ function SetupCredProvider {
63
63
}
64
64
65
65
if (($endpoints|Measure-Object).Count -gt0) {
66
-
# [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Endpoint code example with no real credentials.")]
67
-
# Create the JSON object. It should look like '{"endpointCredentials": [{"endpoint":"http://example.index.json", "username":"optional", "password":"accesstoken"}]}'
Copy file name to clipboardExpand all lines: eng/common/internal-feed-operations.sh
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -62,8 +62,6 @@ function SetupCredProvider {
62
62
endpoints+=']'
63
63
64
64
if [ ${#endpoints}-gt 2 ];then
65
-
# [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Endpoint code example with no real credentials.")]
66
-
# Create the JSON object. It should look like '{"endpointCredentials": [{"endpoint":"http://example.index.json", "username":"optional", "password":"accesstoken"}]}'
67
65
local endpointCredentials="{\"endpointCredentials\": "$endpoints"}"
0 commit comments