create-start-kit-dev 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -102,8 +102,8 @@ async function testDbConnection(url) {
|
|
|
102
102
|
try {
|
|
103
103
|
const { SQL } = await import("bun");
|
|
104
104
|
const sql = new SQL(url);
|
|
105
|
-
const result = sql
|
|
106
|
-
sql.close();
|
|
105
|
+
const [result] = await sql`SELECT version() as version`;
|
|
106
|
+
await sql.close();
|
|
107
107
|
return {
|
|
108
108
|
ok: true,
|
|
109
109
|
version: result.version
|