Skip to content

Commit

Permalink
Hlint
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Nov 20, 2024
1 parent 042fadb commit 119c300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/GHCup/Types/JSON.hs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import qualified Text.Megaparsec as MP
import qualified Text.Megaparsec.Char as MPC

instance ToJSON LinuxDistro where
toJSON x = String . T.pack . show $ x
toJSON = String . T.pack . show

instance FromJSON LinuxDistro where
parseJSON = withText "LinuxDistro" $ \t -> case T.unpack (T.toLower t) of
Expand Down

0 comments on commit 119c300

Please sign in to comment.