File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -134,12 +134,12 @@ $requestHeaders = @{
134134}
135135
136136# Request the GitHub API to get all repositories of a user or an organisation.
137- Write-Host " Requesting '${gitHubRepositoriesUrl} '..." – foregroundcolor Yellow
137+ Write-Host " Requesting '${gitHubRepositoriesUrl} '..." - foregroundcolor Yellow
138138$repositories = Invoke-WebRequest - Uri $gitHubRepositoriesUrl - Headers $requestHeaders | Select-Object - ExpandProperty Content | ConvertFrom-Json
139139
140140# Print a userfriendly message what will happen next.
141141$totalSizeInMegabytes = Get-TotalRepositoriesSizeInMegabytes - repositories $repositories
142- Write-Host " Cloning $ ( $repositories.Count ) repositories (~${totalSizeInMegabytes} MB) into '${backupDirectory} '..." – foregroundcolor Yellow
142+ Write-Host " Cloning $ ( $repositories.Count ) repositories (~${totalSizeInMegabytes} MB) into '${backupDirectory} '..." - foregroundcolor Yellow
143143
144144# Clone each repository into the backup directory.
145145ForEach ($repository in $repositories ) {
@@ -150,4 +150,4 @@ ForEach ($repository in $repositories) {
150150
151151$stopwatch.Stop ()
152152$durationInSeconds = $stopwatch.Elapsed.Seconds
153- Write-Host " Successfully finished the backup in ${durationInSeconds} seconds..." – foregroundcolor Yellow
153+ Write-Host " Successfully finished the backup in ${durationInSeconds} seconds..." - foregroundcolor Yellow
You can’t perform that action at this time.
0 commit comments