Skip to content

Commit 229b936

Browse files
hubyrodclaude
andcommitted
Replace Bun-only import.meta.dir with standard import.meta.dirname
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6ae4c28 commit 229b936

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/helpers/db.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export async function setupTestDb(): Promise<postgres.Sql> {
1212

1313
// Run migration 003
1414
const migrationPath = join(
15-
import.meta.dir,
15+
import.meta.dirname,
1616
"../../migrations/003_reddit_scout.sql"
1717
);
1818
const migration = readFileSync(migrationPath, "utf-8");

0 commit comments

Comments
 (0)