Skip to content

Commit 0fbeff7

Browse files
authored
Fix to not match
1 parent ed6e1e9 commit 0fbeff7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/is-primer-component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ function isPrimerComponent(name, scope) {
1515
return false
1616
}
1717

18-
return isImportedFrom(/^@primer\/react/, identifier, scope)
18+
return isImportedFrom(/^@primer\/react$/, identifier, scope)
1919
}
2020
exports.isPrimerComponent = isPrimerComponent

0 commit comments

Comments
 (0)