diff --git a/packages/migrate/src/cli.ts b/packages/migrate/src/cli.ts index b62c59a..c214141 100644 --- a/packages/migrate/src/cli.ts +++ b/packages/migrate/src/cli.ts @@ -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]; } @@ -50,4 +50,4 @@ try { if(typeof e == 'object' && 'printStackTrace' in e && typeof e['printStackTrace'] == 'function') e.printStackTrace(); } finally { conn?.destroy(); -} \ No newline at end of file +}