Speed up unset command

This commit is contained in:
Julian Ospald 2021-09-27 12:52:45 +02:00
parent d2b4eccac2
commit 5a39ead523
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F

View File

@ -1793,6 +1793,7 @@ Report bugs at <https://gitlab.haskell.org/haskell/ghcup-hs/issues>|]
DInfo -> pure () DInfo -> pure ()
ToolRequirements -> pure () ToolRequirements -> pure ()
ChangeLog _ -> pure () ChangeLog _ -> pure ()
UnSet _ -> pure ()
#if defined(BRICK) #if defined(BRICK)
Interactive -> pure () Interactive -> pure ()
#endif #endif
@ -1879,7 +1880,7 @@ Report bugs at <https://gitlab.haskell.org/haskell/ghcup-hs/issues>|]
] ]
runUnsetGHC = runUnsetGHC =
runAppState runLeanAppState
. runE . runE
@'[ NotInstalled ] @'[ NotInstalled ]