Browse Source

fix

no read in zeal
master
misterzym 6 years ago committed by GitHub
parent
commit
b8a9240c2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      main.go

2
main.go

@ -250,6 +250,8 @@ func initDB(resourcesDirectoryPath string, dbFunc func(*sql.DB)) {
if dbFunc != nil { if dbFunc != nil {
dbFunc(db) dbFunc(db)
} }
db.Exec("UPDATE searchIndex SET path = substr(path, 2)");
} }
func index(indicesToIndex []string) func(db *sql.DB) { func index(indicesToIndex []string) func(db *sql.DB) {

Loading…
Cancel
Save