We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c942722 commit 637a757Copy full SHA for 637a757
lib/src/Metadata.purs
@@ -97,7 +97,7 @@ publishedMetadataCodec = CJ.named "PublishedMetadata" $ CJ.Record.object
97
decode :: JSON -> Except CJ.DecodeError (Either Version (NonEmptyArray Version))
98
decode json = except do
99
map Left (CJ.decode Version.codec json)
100
- <|> map Right (CJ.decode (CJ.Common.nonEmptyArray Version.codec) json)
+ <|> map Right (CJ.decode (CJ.Common.nonEmptyArray Version.codec) json)
101
102
encode = case _ of
103
Left version -> CJ.encode Version.codec version
0 commit comments