Fix failure mode when metadata is garbage, fixes #921
This commit is contained in:
parent
4132447e04
commit
6a86e9e77e
@ -50,7 +50,7 @@ instance FromJSON SetupInfo where
|
|||||||
siSevenzExe <- o .:? "sevenzexe-info"
|
siSevenzExe <- o .:? "sevenzexe-info"
|
||||||
siSevenzDll <- o .:? "sevenzdll-info"
|
siSevenzDll <- o .:? "sevenzdll-info"
|
||||||
siMsys2 <- o .:? "msys2" .!= mempty
|
siMsys2 <- o .:? "msys2" .!= mempty
|
||||||
siGHCs <- o .:? "ghc" .!= mempty
|
siGHCs <- o .: "ghc"
|
||||||
siStack <- o .:? "stack" .!= mempty
|
siStack <- o .:? "stack" .!= mempty
|
||||||
pure SetupInfo {..}
|
pure SetupInfo {..}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user