Skip to content
Browse files

Do not allow project name test (fixes #356)

  • Loading branch information...
1 parent e99a852 commit d64d4a583b77974c860c4ab724c7339e1c93bb5e @snoyberg snoyberg committed Jun 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 yesod/Scaffolding/Scaffolder.hs
View
2 yesod/Scaffolding/Scaffolder.hs
@@ -47,7 +47,7 @@ scaffold = do
| '0' <= c && c <= '9' = True
validPN '-' = True
validPN _ = False
- project <- prompt $ \s -> all validPN s && not (null s)
+ project <- prompt $ \s -> all validPN s && not (null s) && s /= "test"
let dir = project
let sitearg = "App"

0 comments on commit d64d4a5

Please sign in to comment.
Something went wrong with that request. Please try again.