Explorar o código

fix logic for suprpessing snapshots in big directories

Dax Raad hai 1 ano
pai
achega
b5c85d3806
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/opencode/src/snapshot/index.ts

+ 1 - 1
packages/opencode/src/snapshot/index.ts

@@ -19,7 +19,7 @@ export namespace Snapshot {
         limit: 1000,
         limit: 1000,
       })
       })
       log.info("found files", { count: files.length })
       log.info("found files", { count: files.length })
-      if (files.length > 1000) return
+      if (files.length >= 1000) return
     }
     }
 
 
     const git = gitdir(sessionID)
     const git = gitdir(sessionID)