Skip to content

Commit 2d51e8d

Browse files
praveenkuttappanazure-sdk
authored andcommitted
set default for token variable
1 parent 906ac27 commit 2d51e8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eng/common/scripts/Helpers/AzSdkTool-Helpers.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ function isNewVersion(
107107

108108
function Get-GitHubApiHeaders {
109109
# Use GitHub cli to get an auth token if available
110+
$token = ""
110111
if (Get-Command gh -ErrorAction SilentlyContinue) {
111112
try
112113
{

0 commit comments

Comments
 (0)