Skip to content

Commit

Permalink
resolve vs join
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiAbdou committed Apr 5, 2024
1 parent 672edd4 commit 8c12454
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/db/src/scripts/windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ class FileMigrationProvider {
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

console.log('resolve', path.resolve(__dirname, '../migrations'));
console.log('join', path.join(__dirname, '../migrations'));

const migrations = await new FileMigrationProvider({
fs,
migrationFolder: path.resolve(__dirname, '../migrations'),
Expand Down

0 comments on commit 8c12454

Please sign in to comment.