From 791d5ff120a2198a9aa2940f1f2e66d500d71276 Mon Sep 17 00:00:00 2001 From: Ethan Gottlieb Date: Mon, 10 Dec 2018 15:59:19 -0800 Subject: [PATCH] changes based on feedback --- GitHubComments.ps1 | 2 ++ GitHubMilestones.ps1 | 3 +++ 2 files changed, 5 insertions(+) diff --git a/GitHubComments.ps1 b/GitHubComments.ps1 index 26126834..dcb5f54c 100644 --- a/GitHubComments.ps1 +++ b/GitHubComments.ps1 @@ -117,6 +117,8 @@ function Get-GitHubComment $elements = Resolve-RepositoryElements $OwnerName = $elements.ownerName $RepositoryName = $elements.repositoryName + $uriFragment = [String]::Empty + $description = [String]::Empty if ($null -ne $Since) { diff --git a/GitHubMilestones.ps1 b/GitHubMilestones.ps1 index be7201f6..5cbb689b 100644 --- a/GitHubMilestones.ps1 +++ b/GitHubMilestones.ps1 @@ -48,6 +48,7 @@ function Get-GitHubMilestone Get-GitHubMilestone -OwnerName Powershell -RepositoryName PowerShellForGitHub Get the milestones for the PowerShell\PowerShellForGitHub project. + .EXAMPLE Get-GitHubMilestone -Uri 'https://github.com/PowerShell/PowerShellForGitHub' -Milestone 1 Get milestone number 1 for the PowerShell\PowerShellForGitHub project. #> @@ -97,6 +98,8 @@ function Get-GitHubMilestone $elements = Resolve-RepositoryElements $OwnerName = $elements.ownerName $RepositoryName = $elements.repositoryName + $uriFragment = [String]::Empty + $description = [String]::Empty $telemetryProperties = @{ 'OwnerName' = (Get-PiiSafeString -PlainText $OwnerName)