]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Allow function to be called.
authorEdward Delaporte <delaport@illinois.edu>
Wed, 7 Jul 2021 14:10:25 +0000 (09:10 -0500)
committerEdward Delaporte <delaport@illinois.edu>
Wed, 7 Jul 2021 14:10:25 +0000 (09:10 -0500)
psmodules/edgithub.psd1 [deleted file]
psmodules/edgithub.psm1

diff --git a/psmodules/edgithub.psd1 b/psmodules/edgithub.psd1
deleted file mode 100644 (file)
index 6d7562d..0000000
Binary files a/psmodules/edgithub.psd1 and /dev/null differ
index a1f7c7a7ff87d8aef10403ebffa2bf639e91aa8b..68c5e77553939e1b5dbd98ab00a504c70b2e1a94 100644 (file)
@@ -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