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
@ezyang reports in https://ghc.haskell.org/trac/ghc/ticket/11280:
Run this script in a directory which no longer exists:
import System.Directory main = getCurrentDirectory >>= putStrLn
Currently the error looks like:
ezyang@sabre:~/test$ ./test bash: ./test: No such file or directory
It would be nicer to give a better message in this case.
Originally reported: haskell/cabal#2902
The text was updated successfully, but these errors were encountered:
Improve error message of getCurrentDirectory when cwd no longer exists
78ff9fb
Fixes haskell#39.
OK, this is not actually a bug with directory, and also there's been a commit which improves it in any case.
Sorry, something went wrong.
dccac6b
No branches or pull requests
@ezyang reports in https://ghc.haskell.org/trac/ghc/ticket/11280:
Run this script in a directory which no longer exists:
Currently the error looks like:
It would be nicer to give a better message in this case.
Originally reported: haskell/cabal#2902
The text was updated successfully, but these errors were encountered: