git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Remove useless constructor BowerJSONNameMissing

That kind of validation happens inside bower-json.

commit84e513daddb742b30c9265258cdc102301f81920 authorHarry Garrood <harry@garrood.me> dateSat 14 Nov 2015, 01:12 (11 years ago) parent0b66f36
1 file changed−9
src/Language/PureScript/Publish/ErrorsWarnings.hs−9
src/Language/PureScript/Publish/ErrorsWarnings.hs−9
@@ -56,7 +56,6 @@ data UserError
5656 = BowerJSONNotFound
5757 | BowerExecutableNotFound [String] -- list of executable names tried
5858 | CouldntParseBowerJSON (ParseError BowerError)
59− | BowerJSONNameMissing
6059 | TagMustBeCheckedOut
6160 | AmbiguousVersions [Version] -- Invariant: should contain at least two elements
6261 | BadRepositoryField RepositoryFieldError
@@ -138,14 +137,6 @@ displayUserError e = case e of
138137 ]
139138 , para "Please ensure that your bower.json file is valid JSON."
140139 ]
141− BowerJSONNameMissing ->
142− vcat
143− [ successivelyIndented
144− [ "In bower.json:"
145− , "the \"name\" key was not found."
146− ]
147− , para "Please give your package a name first."
148− ]
149140 TagMustBeCheckedOut ->
150141 vcat
151142 [ para (concat