Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: isInNodeModules util #12588

Merged
merged 1 commit into from Mar 26, 2023
Merged

refactor: isInNodeModules util #12588

merged 1 commit into from Mar 26, 2023

Conversation

patak-dev
Copy link
Member

Description

@bluwy has been pushing for using the same check for node_modules everywhere. This PR creates a new util so we centralize it. It is using .includes('node_modules') which is the most common check we currently do.


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

@stackblitz
Copy link

stackblitz bot commented Mar 26, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@patak-dev patak-dev added the p1-chore Doesn't change code behavior (priority) label Mar 26, 2023
@bluwy bluwy merged commit fb3245a into main Mar 26, 2023
11 checks passed
@bluwy bluwy deleted the refactor/is-in-node-modules-util branch March 26, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p1-chore Doesn't change code behavior (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants