mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-03-28 17:42:40 +01:00
Added git deleted files in the push method
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user