diff options
| -rw-r--r-- | xmake/scripts/xrepo-hook.psm1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/xrepo-hook.psm1 b/xmake/scripts/xrepo-hook.psm1 index 2a2c24c05..8e09c85b9 100644 --- a/xmake/scripts/xrepo-hook.psm1 +++ b/xmake/scripts/xrepo-hook.psm1 @@ -17,7 +17,7 @@ function Enter-XrepoEnvironment { begin { $script:xrepoOldEnvs = (Get-ChildItem -Path Env:); - if ($bnd -eq $Null) { + if (-not $bnd) { & $Env:XMAKE_EXE lua private.xrepo.action.env.info config; if (-not $?) { Exit 1; |
