@@ -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
139 , para "Please ensure that your bower.json file is valid JSON."
138 , para "Please ensure that your bower.json file is valid JSON."
141− BowerJSONNameMissing ->
143− [ successivelyIndented
145− , "the \"name\" key was not found."
147− , para "Please give your package a name first."
149 TagMustBeCheckedOut ->
140 TagMustBeCheckedOut ->
151 [ para (concat
142 [ para (concat