Commit ffaa897
authored
Update ExportGitHubUsageStatsForOrganization.ps1
Added code to check if repo API URLs are valid, and if not, to remove them from the list of repos. This was causing an issue with repos that were recently deleted, or internal repos when permissions for the API account are not setup correctly to read private repo info.1 parent bc15bc5 commit ffaa897
1 file changed
Lines changed: 14 additions & 0 deletions
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
52 | 65 | | |
| 66 | + | |
53 | 67 | | |
54 | 68 | | |
55 | 69 | | |
| |||
0 commit comments