Repository navigation
Conversation
Bun.Glob returns backslash-separated paths on Windows, so splitting on forward slashes alone kept the whole path as the migration name. Split on both separators.
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 72 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
Thanks for tracking this down, @karup! I think this duplicates #55126, which makes the same one-line change in |
|
Superseded by #55126, which fixes #44401 with the same one-line change ( |
What does this PR do?
bun run migrationfails on Windows:Bun.Globreturns backslash-separated paths, sofile.split("/")[0]kept the whole path as the migration name. Split on both separators.How did you verify your code works?
bun run migration --checkpasses with the fix (the remaining failure on this checkout is a pre-existing autocrlf line-ending artifact of the generated files, present on the base commit and absent on Linux CI)