Allow lowercasing of scaffolded values #982
This commit is contained in:
parent
fa0fbb4569
commit
931caaa2c0
@ -92,7 +92,9 @@ scaffold isBare = do
|
|||||||
|
|
||||||
let sink = unpackTemplate
|
let sink = unpackTemplate
|
||||||
(receiveFS $ if isBare then "." else fromString project)
|
(receiveFS $ if isBare then "." else fromString project)
|
||||||
(T.replace "PROJECTNAME" (T.pack project))
|
( T.replace "PROJECTNAME" (T.pack project)
|
||||||
|
. T.replace "PROJECTNAME_LOWER" (T.toLower $ T.pack project)
|
||||||
|
)
|
||||||
case ebackend of
|
case ebackend of
|
||||||
Left req -> withManager $ \m -> do
|
Left req -> withManager $ \m -> do
|
||||||
res <- http req m
|
res <- http req m
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user