Added git deleted files in the push method

This commit is contained in:
albbus-stack
2022-11-24 14:24:09 +01:00
committed by GitHub
parent cf2d170d6f
commit 82ace03692

View File

@@ -105,6 +105,9 @@ export class GitListener {
for (const file of status.modified) {
await git.add(file);
}
for (const file of status.deleted) {
await git.add(file);
}
await git.commit(commitMsg || "Synced by Front Matter")
@@ -137,4 +140,4 @@ export class GitListener {
Dashboard.postWebviewMessage({ command: command as any, data });
}
}
}