rails / thor

Thor is a toolkit for building powerful command-line interfaces.
http://whatisthor.com/
MIT License
5.12k stars 553 forks source link

Use string interpolation for trailing whitespace #730

Closed jonathanhefner closed 3 years ago

jonathanhefner commented 4 years ago

Code editors are commonly configured to strip trailing whitespace when saving. Additionally, trailing whitespace may be hard to distinguish visually, both in the editor and in diffs.

This commit uses string interpolation to encode expected trailing whitespace.