ghc-mod icon indicating copy to clipboard operation
ghc-mod copied to clipboard

Lint fails with unhelpful error message when not run in project root

Open DanielG opened this issue 8 years ago • 2 comments

withMappedFile probably doesn't expect to be run outside project root (cc @lierdakil)

(Reported on 2017-04-30 via IRC by __monty__)

DanielG avatar Apr 30 '17 14:04 DanielG

I'm pretty sure we always chdir to project root, don't we?

lierdakil avatar Jul 02 '17 22:07 lierdakil

I think we only do that in GmlT, that lint is just in GhcModT but I don't recall without looking at the code.

DanielG avatar Jul 03 '17 21:07 DanielG