Skip to content

Commit d386be0

Browse files
committed
refactor: use folderPattern directly
1 parent c518493 commit d386be0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/rules/folder-match-with-fex.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,11 @@ module.exports = {
7171
);
7272

7373
if (matchResult) {
74-
const { pattern } = matchResult;
7574
context.report({
7675
node,
7776
message: FOLDER_MATCH_WITH_FEX_ERROR_MESSAGE(
7877
filenameWithPath,
79-
pattern
78+
folderPattern
8079
),
8180
});
8281
return;

0 commit comments

Comments
 (0)