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: GitHubAnalytics.psm1
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,10 @@ if (Test-Path $apiTokensFilePath)
11
11
}
12
12
else
13
13
{
14
-
Write-Host"$apiTokensFilePath does not exist, skipping import"
15
-
Write-Host@'
14
+
Write-Warning"$apiTokensFilePath does not exist, skipping import"
15
+
Write-Warning@'
16
16
This module should define $global:gitHubApiToken with your GitHub API access token in ApiTokens.psm1. Create this file if it doesn't exist.
17
-
You can simply rename ApiTokensTemplate.psm1 to ApiTokens.psm1 and update value of $global:gitHubApiToken.
17
+
You can simply rename ApiTokensTemplate.psm1 to ApiTokens.psm1 and update value of $global:gitHubApiToken, then reimport this module with -Force switch.
18
18
You can get GitHub token from https://github.com/settings/tokens
19
19
If you don't provide it, you can still use this module, but you will be limited to 60 queries per hour.
Copy file name to clipboardExpand all lines: GitHubLabels.psm1
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,10 @@ if (Test-Path $apiTokensFilePath)
11
11
}
12
12
else
13
13
{
14
-
Write-Host"$apiTokensFilePath does not exist, skipping import"
15
-
Write-Host@'
14
+
Write-Warning"$apiTokensFilePath does not exist, skipping import"
15
+
Write-Warning@'
16
16
This module should define $global:gitHubApiToken with your GitHub API access token in ApiTokens.psm1. Create this file if it doesn't exist.
17
-
You can simply rename ApiTokensTemplate.psm1 to ApiTokens.psm1 and update value of $global:gitHubApiToken.
17
+
You can simply rename ApiTokensTemplate.psm1 to ApiTokens.psm1 and update value of $global:gitHubApiToken, then reimport this module with -Force switch.
18
18
You can get GitHub token from https://github.com/settings/tokens
19
19
If you don't provide it, you can still use this module, but you will be limited to 60 queries per hour.
0 commit comments