Skip to content

Commit 733c990

Browse files
committed
do not snapshot nongit projects for now
1 parent 7306e20 commit 733c990

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/opencode/src/snapshot/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export namespace Snapshot {
1414

1515
// not a git repo, check if too big to snapshot
1616
if (!app.git) {
17+
return
1718
const files = await Ripgrep.files({
1819
cwd: app.path.cwd,
1920
limit: 1000,

0 commit comments

Comments
 (0)