Skip to content
Permalink
Browse files
Chore: fix small typo (#14951)
  • Loading branch information
sosukesuzuki committed Aug 20, 2021
1 parent 26b0cd9 commit 8344675c309a359dd2af5afddba6122f5dc803d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -147,7 +147,7 @@ module.exports = {
? [{ matcher: ignore().add(restrictedPatterns) }]
: restrictedPatterns.map(({ group, message }) => ({ matcher: ignore().add(group), customMessage: message }));

// if no imports are restricted we don"t need to check
// if no imports are restricted we don't need to check
if (Object.keys(restrictedPaths).length === 0 && restrictedPatternGroups.length === 0) {
return {};
}
@@ -97,7 +97,7 @@ module.exports = {
return memo;
}, {});

// if no imports are restricted we don"t need to check
// if no imports are restricted we don't need to check
if (Object.keys(restrictedPaths).length === 0 && restrictedPatterns.length === 0) {
return {};
}

0 comments on commit 8344675

Please sign in to comment.