From: Edward Delaporte Date: Wed, 7 Jul 2021 14:10:25 +0000 (-0500) Subject: Allow function to be called. X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/0512a5452e22b3b23cd856a2408255764466309a Allow function to be called. --- diff --git a/psmodules/edgithub.psd1 b/psmodules/edgithub.psd1 deleted file mode 100644 index 6d7562d..0000000 Binary files a/psmodules/edgithub.psd1 and /dev/null differ diff --git a/psmodules/edgithub.psm1 b/psmodules/edgithub.psm1 index a1f7c7a..68c5e77 100644 --- a/psmodules/edgithub.psm1 +++ b/psmodules/edgithub.psm1 @@ -46,9 +46,6 @@ Fetch GitHub issues I am working on. #> function Get-GHMine() { - param( - [int]$days = -14 - ) $repos = @('SecOps-Tools', 'secdev-job-aids', 'awscli-login') $issueSearchParams = @{ Assignee = 'edthedev'; State = 'open'; OwnerName = 'techservicesillinois' } $issues = @() @@ -66,8 +63,6 @@ Show GitHub issues I am working on. #> function Show-GHMine() { - param( - ) Get-GHMine | ForEach-Object { # Markdown output " + [" + $_.Title + " (" + $_.Number + ")](" + $_.html_url + ")" @@ -77,4 +72,5 @@ function Show-GHMine() { Export-ModuleMember -Function Get-GHClosed Export-ModuleMember -Function Show-GHClosed +Export-ModuleMember -Function Get-GHMine Export-ModuleMember -Function Show-GHMine \ No newline at end of file