We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I use hlint --refactor --refactor-options='-i -s', I find that extra newlines get introduced at the ends of my files.
hlint --refactor --refactor-options='-i -s'
Though I'm not sure, I suspect the reason is the use of getContents >>= hPutStrLn here: https://github.com/mpickering/apply-refact/blob/master/src/Main.hs#L151 This will insert one more newline than was contained in the original contents.
getContents >>= hPutStrLn
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I use
hlint --refactor --refactor-options='-i -s'
, I find that extra newlines get introduced at the ends of my files.Though I'm not sure, I suspect the reason is the use of
getContents >>= hPutStrLn
here:https://github.com/mpickering/apply-refact/blob/master/src/Main.hs#L151
This will insert one more newline than was contained in the original contents.
The text was updated successfully, but these errors were encountered: