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

fix(ci): Exclude config/types.ts in @sentry/nextjs from circular dependency check #4598

Merged
merged 1 commit into from
Feb 16, 2022

Conversation

lobsterkatie
Copy link
Member

@lobsterkatie lobsterkatie commented Feb 16, 2022

The library we use to detect circular dependencies, madge, has a bug wherein local files whose names match node modules cause false positives. (For more details, see pahen/madge#306.) In our case, it was triggered by #4597, which added an export from file (config/types.ts) which depends on the node module webpack and which is depended upon by the local file config/webpack.ts.

To solve this for the moment, this PR excludes the problematic file from the check.

@lobsterkatie lobsterkatie merged commit af6c24f into master Feb 16, 2022
@lobsterkatie lobsterkatie deleted the kmclb-nextjs-exclude-config-types-from-madge branch February 16, 2022 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants