Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add a new `trim` command to trim whitespaces in the current line (#4771). #4772
I reused and factorized the pre-existing code to trim trailing spaces.
Note that this adds no test, and I'm not really confident about that. How would you test this change? I couldn't find any test that explicitly used
The CircleCI Node 4 check won't pass, because my test imports some function from a source file that uses ES6 syntax (