550
550
Description = $defaultRepoDesc
551
551
HomePage = $defaultRepoHomePage
552
552
}
553
+
553
554
$repo = New-GitHubRepository @newGitHubRepositoryParms
554
555
}
555
556
981
982
OwnerName = $repo.owner.login
982
983
RepositoryName = $repoName
983
984
}
984
- $contributors = Get-GitHubRepositoryContributor @getGitHubRepositoryContributorParms
985
+
986
+ $contributors = @ (Get-GitHubRepositoryContributor @getGitHubRepositoryContributorParms )
985
987
}
986
988
987
989
It ' Should return objects of the correct type' {
@@ -1004,7 +1006,8 @@ try
1004
1006
RepositoryName = $repoName
1005
1007
IncludeStatistics = $true
1006
1008
}
1007
- $contributors = Get-GitHubRepositoryContributor @getGitHubRepositoryContributorParms
1009
+
1010
+ $contributors = @ (Get-GitHubRepositoryContributor @getGitHubRepositoryContributorParms )
1008
1011
}
1009
1012
1010
1013
It ' Should return objects of the correct type' {
@@ -1032,7 +1035,8 @@ try
1032
1035
RepositoryName = $repoName
1033
1036
IncludeAnonymousContributors = $true
1034
1037
}
1035
- $contributors = Get-GitHubRepositoryContributor @getGitHubRepositoryContributorParms
1038
+
1039
+ $contributors = @ (Get-GitHubRepositoryContributor @getGitHubRepositoryContributorParms )
1036
1040
}
1037
1041
1038
1042
It ' Should return objects of the correct type' {
@@ -1065,7 +1069,8 @@ try
1065
1069
OwnerName = $repo.owner.login
1066
1070
RepositoryName = $repoName
1067
1071
}
1068
- $collaborators = Get-GitHubRepositoryCollaborator @getGitHubRepositoryCollaboratorParms
1072
+
1073
+ $collaborators = @ (Get-GitHubRepositoryCollaborator @getGitHubRepositoryCollaboratorParms )
1069
1074
}
1070
1075
1071
1076
It ' Should return objects of the correct type' {
0 commit comments