Skip to content

Commit e0fa618

Browse files
committed
Code optimization
1 parent 25e137e commit e0fa618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Setup.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Describe "Setup" {
1111
[SuppressMessage("PSUseDeclaredVarsMoreThanAssignments", "")]
1212
$latestRelease = [Release]::Latest()
1313

14-
if ($Env:CI -ne "true") {
14+
if (-not $Env:CI) {
1515
$Env:GITHUB_ENV = "var/GitHub-Env.txt"
1616
$Env:GITHUB_PATH = "var/GitHub-Path.txt"
1717
}

0 commit comments

Comments
 (0)