Skip to content

Commit e5e8359

Browse files
🩹 [Patch]: Require DynamicParams module (#89)
## Description - Add requirement for `DynamicParams` on functions that us `New-DynamicParam*` functions. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas
1 parent 778d18b commit e5e8359

File tree

6 files changed

+16
-4
lines changed

6 files changed

+16
-4
lines changed

src/GitHub/private/Repositories/Repositories/New-GitHubRepositoryOrg.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
filter New-GitHubRepositoryOrg {
1+
#Requires -Modules DynamicParams
2+
3+
filter New-GitHubRepositoryOrg {
24
<#
35
.SYNOPSIS
46
Create an organization repository

src/GitHub/private/Repositories/Repositories/New-GitHubRepositoryUser.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
filter New-GitHubRepositoryUser {
1+
#Requires -Modules DynamicParams
2+
3+
filter New-GitHubRepositoryUser {
24
<#
35
.SYNOPSIS
46
Create a repository for the authenticated user

src/GitHub/public/Gitignore/Get-GitHubGitignore.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#Requires -Modules DynamicParams
2+
13
filter Get-GitHubGitignore {
24
<#
35
.SYNOPSIS

src/GitHub/public/License/Get-GitHubLicense.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#Requires -Modules DynamicParams
2+
13
filter Get-GitHubLicense {
24
<#
35
.SYNOPSIS

src/GitHub/public/Repositories/Repositories/Get-GitHubRepository.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
filter Get-GitHubRepository {
1+
#Requires -Modules DynamicParams
2+
3+
filter Get-GitHubRepository {
24
<#
35
.SYNOPSIS
46
Gets a specific repository or list of repositories.

src/GitHub/public/Repositories/Repositories/New-GitHubRepository.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
filter New-GitHubRepository {
1+
#Requires -Modules DynamicParams
2+
3+
filter New-GitHubRepository {
24
<#
35
.SYNOPSIS
46
Create a repository for a user or an organization.

0 commit comments

Comments
 (0)