Skip to content

Commit

Permalink
Fix passing IO::Path to SQLite driver for database
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Sep 18, 2018
1 parent 21d0190 commit 11e890a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DBDish/SQLite.pm6
Expand Up @@ -10,7 +10,7 @@ need DBDish::SQLite::Connection;
has $.library;
has $.library-resolved = False;

method connect(:database(:$dbname)! is copy, *%params) {
method connect(Str() :database(:$dbname)! is copy, *%params) {
die "Cannot locate native library '" ~
$*VM.platform-library-name('sqlite3'.IO, :version(v0)) ~ "'"
unless $!library-resolved;
Expand Down

0 comments on commit 11e890a

Please sign in to comment.