1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

all: cleanup sqlite.connect statements (do not leave strange test.db or vweb.sql artefacts around, after running common tests)

This commit is contained in:
Delyan Angelov
2023-01-19 09:45:07 +02:00
parent 36834be2ad
commit bee355eb65
4 changed files with 5 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ fn (mut app App) service_auth(username string, password string) !string {
}
defer {
db.close() or { panic('fail to close database') }
db.close() or { panic(err) }
}
user := sql db {