瀏覽代碼

Fix typo in pre_build.ps1

Richard Cobbe 8 年之前
父節點
當前提交
ac2f99176e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Build/scripts/pre_build.ps1

+ 1 - 1
Build/scripts/pre_build.ps1

@@ -176,7 +176,7 @@ $CommitMessage
     ## add the logic to the core script.
 
     ## Without the OAuth token, the git fetch command hangs, causing the entire build to time out.
-    if (${Env:System.AccessToken} -ne null)
+    if (${Env:System.AccessToken} -ne $null)
     {
         git -c http.extraheader="AUTHORIZATION: bearer ${Env:System.AccessToken}" fetch origin refs/notes/ChakraHub:refs/notes/ChakraHub
         Write-Output "looking for notes"