Skip to content

Commit

Permalink
Merge branch 'main' into type-safe-seed-template
Browse files Browse the repository at this point in the history
  • Loading branch information
igalklebanov authored Jul 8, 2024
2 parents 531fc56 + 68b7e7c commit bc37c92
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kysely-ctl",
"version": "0.8.9",
"version": "0.8.10",
"type": "module",
"bin": {
"kysely": "./dist/bin.js"
Expand Down
15 changes: 8 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions scripts/localize-deno-dependency.mts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { fileURLToPath } from "node:url";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

console.log(__filename, __dirname);

async function main() {
await copyFile(
resolve(__dirname, "../dist/bin.js"),
Expand Down
7 changes: 7 additions & 0 deletions src/kysely/process-migration-result-set.mts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ export async function processMigrationResultSet(
failedMigration ? ` @ "${failedMigration.migrationName}"` : ''
}`,
)

if (error instanceof AggregateError) {
for (const subError of error.errors) {
consola.error(subError)
}
}

process.exit?.(1)
throw error
}
Expand Down

0 comments on commit bc37c92

Please sign in to comment.