Skip to content

Commit

Permalink
require __dirname
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferror committed Sep 15, 2024
1 parent 93ef7fd commit 869a5fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions catalog/eventcatalog.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import path from 'path';
import url from 'url';

const __dirname = path.dirname(url.fileURLToPath(import.meta.url));

/** @type {import('@eventcatalog/core/bin/eventcatalog.config').Config} */
export default {
Expand Down

0 comments on commit 869a5fa

Please sign in to comment.