From 4de16e63dba619d3b28a1d6e13ec00610374dacb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleks=20R=C5=ABti=C5=86=C5=A1?= Date: Thu, 21 Dec 2023 14:07:53 -0500 Subject: [PATCH] fix build --- packages/migrate/src/cli.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}