We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca685c7 commit 4fa3b47Copy full SHA for 4fa3b47
1 file changed
src/Stack/Types/PackageName.hs
@@ -164,4 +164,8 @@ packageNameArgument =
164
p s =
165
case parsePackageNameFromString s of
166
Just x -> Right x
167
- Nothing -> Left ("Expected valid package name, but got: " ++ s)
+ Nothing -> Left $ unlines
168
+ [ "Expected valid package name, but got: " ++ s
169
+ , "Package names consist of one or more alphanumeric words separated by hyphens."
170
+ , "To avoid ambiguity with version numbers, each of these words must contain at least one letter."
171
+ ]
0 commit comments