yogthos / migratus

MIGRATE ALL THE THINGS!
643 stars 93 forks source link

NPE when init file is set on windows #158

Closed slowcod closed 5 years ago

slowcod commented 5 years ago

On windows in the find-init-script-resource fn the init-script-path results with backslash as path separator whereas the jar's entries have forward slash, never matching the filter predicate (.endsWith (.getName entry) init-script-path)

yogthos commented 5 years ago

I don't actually have a windows machine to test with. I can help guide a PR along though if you'd be interested.

yogthos commented 5 years ago

fixed by https://github.com/yogthos/migratus/pull/159