do not snapshot nongit projects for now
This commit is contained in:
parent
7306e20361
commit
733c9903ec
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ export namespace Snapshot {
|
||||||
|
|
||||||
// not a git repo, check if too big to snapshot
|
// not a git repo, check if too big to snapshot
|
||||||
if (!app.git) {
|
if (!app.git) {
|
||||||
|
return
|
||||||
const files = await Ripgrep.files({
|
const files = await Ripgrep.files({
|
||||||
cwd: app.path.cwd,
|
cwd: app.path.cwd,
|
||||||
limit: 1000,
|
limit: 1000,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue