chore: clean up code

This commit is contained in:
2024-01-19 14:12:05 +01:00
parent 3525a90b93
commit aaad8a010c
6 changed files with 46 additions and 34 deletions

View File

@@ -33,7 +33,7 @@ func RestoreDatabase(file string) {
utils.Fatal("Error, in restoring the database")
}
utils.Info("Database has been restored")
utils.Done("Database has been restored")
} else if extension == ".sql" {
//SQL file
@@ -43,7 +43,7 @@ func RestoreDatabase(file string) {
utils.Fatal("Error, in restoring the database", err)
}
utils.Info("Database has been restored")
utils.Done("Database has been restored")
} else {
utils.Fatal("Unknown file extension ", extension)
}