-
Notifications
You must be signed in to change notification settings - Fork 31k
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
module: fix incorrect formatting in require(esm) cycle error message #57453
base: main
Are you sure you want to change the base?
module: fix incorrect formatting in require(esm) cycle error message #57453
Conversation
Review requested:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Do you mind adding a test for this as well? I didn't check, I guess we already have a spot where this is checked or at least triggered in tests and we can just test for the correct value to be there.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #57453 +/- ##
=======================================
Coverage 90.20% 90.21%
=======================================
Files 629 629
Lines 184948 184948
Branches 36204 36211 +7
=======================================
+ Hits 166837 166843 +6
+ Misses 11057 11045 -12
- Partials 7054 7060 +6
🚀 New features to boost your workflow:
|
This pull request includes minor wording and punctuation tweaks to fix the formatting of the require(esm) cycle error message. The message still seems a bit confusing to me, but these changes should at least be an improvement.
I am not sure whether tests should be implemented for this change, as the original error message didn't have tests either, but I can try my hand at implementing some if that would be preferred.
Fixes: #57451