mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-25 03:34:22 +01:00
do not snapshot nongit projects for now
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user