mirror of
https://github.com/Hopiu/djLint.git
synced 2026-05-16 17:11:08 +00:00
style(lint): fixed lint
This commit is contained in:
parent
46395e28bc
commit
6aa6986b6e
1 changed files with 1 additions and 2 deletions
|
|
@ -228,8 +228,7 @@ def main(
|
|||
|
||||
if temp_file and (config.reformat or config.check):
|
||||
# if using stdin, only give back formatted code.
|
||||
echo(Path(temp_file.name).read_text(encoding="utf8").rstrip().encode('utf8'))
|
||||
|
||||
echo(Path(temp_file.name).read_text(encoding="utf8").rstrip().encode("utf8"))
|
||||
|
||||
if temp_file:
|
||||
temp_file.close()
|
||||
|
|
|
|||
Loading…
Reference in a new issue