Skip to content

Commit

Permalink
rm trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkal committed Nov 6, 2023
1 parent d046d56 commit 8d2e6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/0.5-vanilla-esm/migrate.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Umzug, JSONStorage } from 'umzug';

const __dirname = new URL('.', import.meta.url).pathname;
const __dirname = new URL('.', import.meta.url).pathname.replace(/\/$/, '');

export const migrator = new Umzug({
migrations: {
Expand Down

0 comments on commit 8d2e6fa

Please sign in to comment.