Skip to content

Commit

Permalink
chore: replace deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
vitonsky committed May 13, 2024
1 parent 45f16d2 commit 1ea3b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/alias.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const rule: Rule.RuleModule = {
);
if (!isPathInImport) return;

const filename = context.getFilename();
const filename = context.filename;

const resolvedIgnoredPaths = ignoredPaths.map((ignoredPath) =>
path.normalize(path.join(path.dirname(filename), ignoredPath)),
Expand Down

0 comments on commit 1ea3b19

Please sign in to comment.