Merge pull request #466 from albbus-stack/git-deleted-files-fix

Thank you @albbus-stack!
This commit is contained in:
Elio Struyf
2022-11-24 17:25:01 +01:00
committed by GitHub
+4 -1
View File
@@ -111,6 +111,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")
@@ -143,4 +146,4 @@ export class GitListener {
Dashboard.postWebviewMessage({ command: command as any, data });
}
}
}