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.
2 parents d9cbaf7 + 601d145 commit 2c8fa32Copy full SHA for 2c8fa32
generator/elm.json
@@ -6,7 +6,7 @@
6
"elm-version": "0.19.1",
7
"dependencies": {
8
"direct": {
9
- "dillonkearns/elm-cli-options-parser": "3.0.1",
+ "dillonkearns/elm-cli-options-parser": "3.1.0",
10
"elm/core": "1.0.5",
11
"elm/json": "1.1.3",
12
"elm/regex": "1.0.0",
generator/src/Main.elm
@@ -165,7 +165,7 @@ baseOption =
165
166
validateModuleName : String -> Cli.Validate.ValidationResult
167
validateModuleName =
168
- Cli.Validate.regex "^[A-Z][A-Za-z_]*(\\.[A-Z][A-Za-z_]*)*$"
+ Cli.Validate.regexWithMessage "I expected an Elm module name" "^[A-Z][A-Za-z_]*(\\.[A-Z][A-Za-z_]*)*$"
169
170
171
type alias Flags =
0 commit comments