foxundermoon / vs-shell-format

the shellscript、Dockerfile、properties ...... format extension
MIT License
445 stars 47 forks source link

[BUG]: unclosed here-document error on windows but not darwin #377

Closed Tylerjet closed 6 months ago

Tylerjet commented 6 months ago

When running shell-format on windows i am seeing the following error on my here-document lines: image

however on darwin on the same repo and same code i do not get the error.

Untitled
Tylerjet commented 6 months ago

Figured it out issue was due to CRLF line endings switching to LF endings resolves issue.