Adds argument de-structuring to 'rmTool' function & remove the one in its body
This commit is contained in:
parent
82a704ab44
commit
4ef3622616
@ -1290,8 +1290,7 @@ rmTool :: ( MonadReader AppState m
|
||||
=> ListResult
|
||||
-> Excepts '[NotInstalled ] m ()
|
||||
|
||||
rmTool tool = do
|
||||
let ListResult {lVer, lTool, lCross} = tool
|
||||
rmTool ListResult {lVer, lTool, lCross} = do
|
||||
-- appstate <- ask
|
||||
|
||||
case lTool of
|
||||
|
Loading…
Reference in New Issue
Block a user