git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Remove useless constructor BowerJSONNameMissing
84e513dHarry Garrood
src/Language/PureScript/Publish/ErrorsWarnings.hs−9
@@ -56,7 +56,6 @@ data UserError
56 = BowerJSONNotFound
56 = BowerJSONNotFound
57 | BowerExecutableNotFound [String] -- list of executable names tried
57 | BowerExecutableNotFound [String] -- list of executable names tried
58 | CouldntParseBowerJSON (ParseError BowerError)
58 | CouldntParseBowerJSON (ParseError BowerError)
59− | BowerJSONNameMissing
60 | TagMustBeCheckedOut
59 | TagMustBeCheckedOut
61 | AmbiguousVersions [Version] -- Invariant: should contain at least two elements
60 | AmbiguousVersions [Version] -- Invariant: should contain at least two elements
62 | BadRepositoryField RepositoryFieldError
61 | BadRepositoryField RepositoryFieldError
@@ -138,14 +137,6 @@ displayUserError e = case e of
138 ]
137 ]
139 , para "Please ensure that your bower.json file is valid JSON."
138 , para "Please ensure that your bower.json file is valid JSON."
140 ]
139 ]
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− ]
149 TagMustBeCheckedOut ->
140 TagMustBeCheckedOut ->
150 vcat
141 vcat
151 [ para (concat
142 [ para (concat