Closed tfausak closed 9 months ago
I'm not sure how to proceed here. I have several options:
--mode check
, succeed if the input is formatted modulo line endings. This feels like the most user friendly, but also kind of weird to say "yeah it's formatted" when the output would actually change. --crlf
, for controlling this behavior. This feels like passing the buck, and would be annoying for most Windows users.
Although I want to encourage others to use cabal-gild-setup-action, in this repo I should be testing against the actual
cabal-gild
executable that was just built. Doing so will make it possible for me to change the output format and still have the tests pass, for example.I expect this to fail initially because
--mode check
doesn't quite work on Windows. The problem is that the input file has CRLF line endings but the output file has LF line endings. I was aware of this before (see 3023fc096154885300542c86f000cec9fc12efcb) but chose to ignore it until now.