Explorar o código

do not snapshot nongit projects for now

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

+ 1 - 0
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,