mirror of
https://github.com/sbrow/envr.git
synced 2026-06-27 18:48:33 -04:00
refactor: Removed duplicate insert calls.
This commit is contained in:
@@ -45,9 +45,6 @@ cmd_sync :: proc(cmd: ^Command) {
|
||||
}
|
||||
case .BackedUp in result:
|
||||
status = "Backed Up"
|
||||
if !db_insert(&db, file) {
|
||||
return
|
||||
}
|
||||
case .Restored in result:
|
||||
status = "Restored"
|
||||
case .DirUpdated in result:
|
||||
|
||||
Reference in New Issue
Block a user