Remove trailing whitespace
This commit is contained in:
parent
cd37c75c40
commit
64c9466418
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue