Skip to content

Commit e3bf82e

Browse files
committed
Fix typo in 'userName' param
1 parent 2585a4c commit e3bf82e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backup_github_repositories.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Param (
3838
Mandatory=$True,
3939
HelpMessage="The name of a GitHub user that has access to the GitHub API."
4040
)]
41-
[string]$username,
41+
[string]$userName,
4242

4343
[Parameter(
4444
Mandatory=$True,
@@ -133,7 +133,7 @@ if ($organisationName) {
133133
#
134134
# @see https://developer.github.com/v3/auth/#basic-authentication
135135
#
136-
$basicAuthenticationCredentials = "${username}:${plainTextUserSecret}"
136+
$basicAuthenticationCredentials = "${userName}:${plainTextUserSecret}"
137137
$encodedBasicAuthenticationCredentials = [System.Convert]::ToBase64String(
138138
[System.Text.Encoding]::ASCII.GetBytes($basicAuthenticationCredentials)
139139
)

0 commit comments

Comments
 (0)