mirror of https://github.com/mattn/go-sqlite3.git
Fixed typo: HasPrefox -> HasPrefix
This is breaking travis ci tests.
This commit is contained in:
parent
519a1d07c4
commit
6223c9833f
|
@ -286,7 +286,7 @@ func (d *SQLiteDriver) Open(dsn string) (driver.Conn, error) {
|
|||
}
|
||||
}
|
||||
|
||||
if !strings.HasPrefox(dsn, "file:") {
|
||||
if !strings.HasPrefix(dsn, "file:") {
|
||||
dsn = dsn[:pos]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue