Update python/jsbeautifier/javascript/beautifier.py

This commit is contained in:
Liam Newman 2021-06-28 11:55:43 -07:00 committed by GitHub
parent e77f74b140
commit 00f3847be5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1439,7 +1439,7 @@ class Beautifier:
# if there is a newline between -- or ++ and anything else we
# should preserve it.
if current_token.newlines and (
current_token.text == "--"
current_token.text == "--"
or current_token.text == "++"
or current_token.text == "~"
):