Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Dec 10, 2024
1 parent 9dcc13f commit 5a1d7fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export function getDirname() {
if (typeof __dirname !== 'undefined') {
return __dirname;
}
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
return path.dirname(fileURLToPath(import.meta.url));
}

Check warning on line 19 in src/utils.ts

View check run for this annotation

Codecov / codecov/patch

src/utils.ts#L13-L19

Added lines #L13 - L19 were not covered by tests

0 comments on commit 5a1d7fa

Please sign in to comment.