From e20bcde27ccae11baaf8600ba2027760048fc68c Mon Sep 17 00:00:00 2001 From: Andrew Hall Date: Tue, 27 Feb 2024 17:19:36 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- featurflag.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/featurflag.ps1 b/featurflag.ps1 index c9697e7755..2672ec6efe 100644 --- a/featurflag.ps1 +++ b/featurflag.ps1 @@ -12,7 +12,7 @@ if ($null -eq $flag -or '' -eq $flag) { throw "Specify a -flag to set" } -if ($flag.EndsWith(("\")) { +if ($flag.EndsWith("\")) { throw "Provided flag '$flag' ends with '\', which is not valid" }