+
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

fix(rome_diagnostics): force the diagnostics separator line to be at least 10 characters wide #3396

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

leops
Copy link
Contributor

@leops leops commented Oct 11, 2022

Summary

Fixes #3391

The new diagnostics print a line of characters at the end of the header line to fill the width up to 100 columns, but when the header line is long (for instance if the file path is very long or if the diagnostic has additional tags) this means the separators isn't displayed. This PR adds a minimal width, to force the line to be at least 10 characters wide.

Test Plan

I've updated a few snapshot files that were impacted by this change

@leops leops requested a review from xunilrj as a code owner October 11, 2022 09:40
@leops leops requested a review from a team October 11, 2022 09:40
@netlify
Copy link

netlify bot commented Oct 11, 2022

Deploy Preview for rometools ready!

Name Link
🔨 Latest commit c028ab1
🔍 Latest deploy log https://app.netlify.com/sites/rometools/deploys/63453a2914ad6200083de95e
😎 Deploy Preview https://deploy-preview-3396--rometools.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@leops leops temporarily deployed to netlify-playground October 11, 2022 09:41 Inactive
@github-actions
Copy link

@leops leops merged commit 4b2f1da into main Oct 11, 2022
@leops leops deleted the fix/diagnostic-separator-width branch October 11, 2022 14:13
@leops leops added the A-Diagnostic Area: errors and diagnostics label Oct 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Diagnostic Area: errors and diagnostics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Internal Rome error formatting
2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载