mozilla / observatory-cli

Mozilla Public License 2.0
187 stars 24 forks source link

Truncate long descriptions in report mode #15

Closed april closed 7 years ago

april commented 7 years ago

Upcoming versions of the Observatory will have longer descriptions like so:

Content Security Policy (CSP) implemented unsafely. This includes \'unsafe-inline\' or data: inside script-src, or overly broad sources such as https:.

To prevent overly long lines from showing up in the CLI, I would recommend splitting at ". " and just having the first sentence.

Thanks!

gregglind commented 7 years ago

will do