mirror of
https://gitee.com/zhangsken/opencode.git
synced 2026-10-16 10:30:01 +08: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