mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-08-08 09:53:20 +02:00
Merge pull request #466 from albbus-stack/git-deleted-files-fix
Thank you @albbus-stack!
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user