We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a16554d commit a119991Copy full SHA for a119991
1 file changed
packages/opencode/src/snapshot/index.ts
@@ -5,6 +5,7 @@ import fs from "fs/promises"
5
import { Ripgrep } from "../file/ripgrep"
6
import { Log } from "../util/log"
7
import { Global } from "../global"
8
+import { Installation } from "../installation"
9
10
export namespace Snapshot {
11
const log = Log.create({ service: "snapshot" })
@@ -28,7 +29,7 @@ export namespace Snapshot {
28
29
const app = App.info()
30
31
// not a git repo, check if too big to snapshot
- if (!app.git) {
32
+ if (!app.git || !Installation.isDev()) {
33
return
34
const files = await Ripgrep.files({
35
cwd: app.path.cwd,
0 commit comments