Skip to content

Commit c5cf896

Browse files
committed
chore: svelte check
1 parent 599b6a7 commit c5cf896

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/yucca-api/src/bin/migrations.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const compare = async () => {
2828
return { up, down };
2929
};
3030

31-
const asMigration = async (up: string[], down: string[]) => {
31+
const asMigration = (up: string[], down: string[]) => {
3232
const upSql = up.map((sql) => ` await sql\`${sql}\`.execute(db);`).join('\n');
3333
const downSql = down.map((sql) => ` await sql\`${sql}\`.execute(db);`).join('\n');
3434

@@ -52,7 +52,7 @@ async function debug(notice = true) {
5252
return;
5353
}
5454

55-
const migration = await asMigration(up.asSql(), down.asSql());
55+
const migration = asMigration(up.asSql(), down.asSql());
5656

5757
console.info(migration);
5858
console.info(

0 commit comments

Comments
 (0)