acro5piano / kysely-migration-cli

A thin library to create a migration script using Kysely
https://www.npmjs.com/package/kysely-migration-cli
MIT License
66 stars 3 forks source link

feat: always log migration results #10

Closed elmeister closed 1 year ago

elmeister commented 1 year ago

Closes https://github.com/acro5piano/kysely-migration-cli/issues/9

This PR moves console.log() before process.exit(1) on error in showResults() to ensure that migrations logs are always available.