mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-11-07 02:52:20 +01:00
Added git deleted files in the push method
This commit is contained in:
1 parent
cf2d170d6f
commit
82ace03692
1 file changed
+4
-1
@@ -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