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
|
=> ListResult
|
||||||
-> Excepts '[NotInstalled ] m ()
|
-> Excepts '[NotInstalled ] m ()
|
||||||
|
|
||||||
rmTool tool = do
|
rmTool ListResult {lVer, lTool, lCross} = do
|
||||||
let ListResult {lVer, lTool, lCross} = tool
|
|
||||||
-- appstate <- ask
|
-- appstate <- ask
|
||||||
|
|
||||||
case lTool of
|
case lTool of
|
||||||
|
Loading…
Reference in New Issue
Block a user