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 global require usage #11689

Merged
merged 1 commit into from
Dec 12, 2023
Merged

Fix global require usage #11689

merged 1 commit into from
Dec 12, 2023

Conversation

ggetz
Copy link
Contributor

@ggetz ggetz commented Dec 12, 2023

This was failing since our update to the eslint rules. Resolve with a ternary operator as suggest in the n/global-require docs

It was only be picked up during CI since the local commit hook is only ran on changed files.

@ggetz ggetz requested a review from jjspace December 12, 2023 17:12
Copy link
Contributor

@jjspace jjspace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies I should've checked this after my change in CesiumGS/eslint-config-cesium#5

LGTM!

@jjspace jjspace merged commit 62e9f40 into main Dec 12, 2023
5 checks passed
@jjspace jjspace deleted the Fix-global-require branch December 12, 2023 18:02
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