Open ishantanu opened 2 years ago
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: