You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was testing adding new plugins to sloth and I saw that sloth validate command fails when the Sloth spec is created with CRLF.
The error message doesn't mention any of this. However, when I copied an existing spec and edited the plugin id, it worked. Similarly, when I created a test.yml file with LF, the validate as well as generate command worked.
I confirm having the same issue when building on Windows with a Docker container running Sloth. Converting the .yml file to LF instead of the default CRLF fixed the error but it was definitely not obvious to find the right fix.
Hello,
I was testing adding new plugins to sloth and I saw that
sloth validate
command fails when the Sloth spec is created with CRLF.The error message doesn't mention any of this. However, when I copied an existing spec and edited the plugin id, it worked. Similarly, when I created a
test.yml
file with LF, thevalidate
as well asgenerate
command worked.Example:
File created using default CRLF:
File created using LF:
The text was updated successfully, but these errors were encountered: