From 151c45cbb528f457033ce84628abe3f6e5362c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksandar=20Nikoli=C4=87?= Date: Tue, 30 Aug 2016 00:37:35 +0200 Subject: [PATCH] update REST demo to fix function name Fix the function name to follow Verb-SingularNoun naming convention. --- demos/rest/rest.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/rest/rest.ps1 b/demos/rest/rest.ps1 index 4800b360df..59bea0ce0d 100644 --- a/demos/rest/rest.ps1 +++ b/demos/rest/rest.ps1 @@ -1,7 +1,7 @@  #----------------- -function Get-Issues +function Get-Issue { param([string]$UserName, [string]$Repo, @@ -28,7 +28,7 @@ function Get-Issues } } -$issues = Get-Issues -UserName lzybkr -Repo PSReadline +$issues = Get-Issue -UserName lzybkr -Repo PSReadline $issues.Count @@ -40,4 +40,4 @@ foreach ($issue in $issues) { "{0} is a vi mode bug" -f $issue.url } -} \ No newline at end of file +}