diff options
| author | Dax Raad <[email protected]> | 2025-07-20 13:59:02 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-07-20 13:59:30 -0400 |
| commit | 733c9903ec61e26ac0bdced0697eb5b298cdaef3 (patch) | |
| tree | 41b0bacd57354d73cf46afaae20d6ae8550e31c9 | |
| parent | 7306e20361afc59996af141fddff92aee45e78f7 (diff) | |
| download | opencode-733c9903ec61e26ac0bdced0697eb5b298cdaef3.tar.gz opencode-733c9903ec61e26ac0bdced0697eb5b298cdaef3.zip | |
do not snapshot nongit projects for now
| -rw-r--r-- | packages/opencode/src/snapshot/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/opencode/src/snapshot/index.ts b/packages/opencode/src/snapshot/index.ts index b23de6e07..f98909e94 100644 --- a/packages/opencode/src/snapshot/index.ts +++ b/packages/opencode/src/snapshot/index.ts @@ -14,6 +14,7 @@ export namespace Snapshot { // not a git repo, check if too big to snapshot if (!app.git) { + return const files = await Ripgrep.files({ cwd: app.path.cwd, limit: 1000, |
