Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksrutins committed Dec 21, 2023
1 parent dd28008 commit 4de16e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/migrate/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ try {
throw "DATABASE_URL was not provided, exiting.";
}

const lib = butterfly([LibSQLDriver]);
const lib = butterfly(LibSQLDriver);
if (!lib.supportsURI(url)) {
throw "Unsupported protocol: " + (url ?? "").split(":")[0];
}
Expand Down Expand Up @@ -50,4 +50,4 @@ try {
if(typeof e == 'object' && 'printStackTrace' in e && typeof e['printStackTrace'] == 'function') e.printStackTrace();
} finally {
conn?.destroy();
}
}

0 comments on commit 4de16e6

Please sign in to comment.