Skip to content
Snippets Groups Projects
Commit 30f2bd2d authored by noiioiu's avatar noiioiu Committed by Mergify
Browse files

Catch exception if git is not installed (#10486)


* Catch exception if git is not installed

* fix formatting

* change type from IO to m

* add maybeReadProcessWithExitCode

* use maybeReadProcessWithExitCode

* disambiguate P.catch

* add TypeApplications pragma

* add missing arguments

* Add changelog entry

* Add test for `cabal init` when `git` is not installed

* Remove withSourceCopyDir from test

* Remove withSourceCopyDir from test

* Remove configure and build from test

* Remove assert

* Skip test on windows

---------

Co-authored-by: default avatarnoiioiu <noiioiu@cocaine.ninja>
(cherry picked from commit e7bc62be)
parent 460375d7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment