Remove trailing whitespace

This commit is contained in:
Arlo Shallit 2018-07-30 19:26:02 -04:00
parent cd37c75c40
commit 64c9466418
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module.exports = class Black extends Beautifier
homepage: "https://github.com/ambv/black" homepage: "https://github.com/ambv/black"
installation: "https://github.com/ambv/black#installation" installation: "https://github.com/ambv/black#installation"
version: { version: {
parse: (text) -> parse: (text) ->
# Try to read beta values, eg "black, version 18.6b4" -> 18.6.4 # Try to read beta values, eg "black, version 18.6b4" -> 18.6.4
try try
text.match(/black, version (\d+\.\d+)/)[1] + "." + text.match(/b(\d+)$/)[1] text.match(/black, version (\d+\.\d+)/)[1] + "." + text.match(/b(\d+)$/)[1]