소스 검색

do not snapshot nongit projects for now

Dax Raad 1 년 전
부모
커밋
733c9903ec
1개의 변경된 파일과 1개의 추가작업 그리고 0개의 파일을 삭제
  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,