From e2da44f4eff671c1b9e426776e35eb6deb25b124 Mon Sep 17 00:00:00 2001 From: Zachary Eisinger Date: Wed, 2 Sep 2020 10:54:57 -0700 Subject: [PATCH] Correct negative logic for powershell --- __tests__/verify-dotnet.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/verify-dotnet.ps1 b/__tests__/verify-dotnet.ps1 index 3885393..3bf68ca 100755 --- a/__tests__/verify-dotnet.ps1 +++ b/__tests__/verify-dotnet.ps1 @@ -3,7 +3,7 @@ if (!$args[0]) throw "Must supply dotnet version argument" } -if (!Test-Path "../nuget.config") +if (-Not (Test-Path "../nuget.config")) { throw "nuget file not generated correctly" }