diff options
| author | Dax Raad <[email protected]> | 2025-07-15 09:07:04 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-07-15 09:07:04 -0400 |
| commit | b5c85d38066728e025f5a05abb90e39ed6836b1c (patch) | |
| tree | 0a64a8eae13dc2015e0792c9a90094800d4e83b5 | |
| parent | bcf952bc8af3705e2a0bf794e157e6040c542f9a (diff) | |
| download | opencode-b5c85d38066728e025f5a05abb90e39ed6836b1c.tar.gz opencode-b5c85d38066728e025f5a05abb90e39ed6836b1c.zip | |
fix logic for suprpessing snapshots in big directories
| -rw-r--r-- | packages/opencode/src/snapshot/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/snapshot/index.ts b/packages/opencode/src/snapshot/index.ts index 447e28ed5..958af3daf 100644 --- a/packages/opencode/src/snapshot/index.ts +++ b/packages/opencode/src/snapshot/index.ts @@ -19,7 +19,7 @@ export namespace Snapshot { limit: 1000, }) log.info("found files", { count: files.length }) - if (files.length > 1000) return + if (files.length >= 1000) return } const git = gitdir(sessionID) |
