Browse Source

ci: ignore exit code of update-index (#23036)

Jeremy Apthorp 5 years ago
parent
commit
f4cf23f6ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .circleci/config.yml

+ 1 - 1
.circleci/config.yml

@@ -235,7 +235,7 @@ step-gclient-sync: &step-gclient-sync
         # Re-export all the patches to check if there were changes.
         python src/electron/script/export_all_patches.py src/electron/patches/config.json
         cd src/electron
-        git update-index --refresh
+        git update-index --refresh || true
         if ! git diff-index --quiet HEAD --; then
           # There are changes to the patches. Make a git commit with the updated patches
           git add patches