Merge pull request #885 from roSievers/patch-1
Fix issue #884 (Scaffolding with --bare)
This commit is contained in:
commit
bfcb2876f0
@ -96,4 +96,8 @@ scaffold isBare = do
|
||||
responseBody res $$+- sink
|
||||
Right backend -> runResourceT $ yield (backendBS backend) $$ sink
|
||||
|
||||
TLIO.putStr $ LT.replace "PROJECTNAME" (LT.pack project) $ renderTextUrl undefined $(textFile "input/done.cg")
|
||||
let projectnameReplacer = if isBare
|
||||
then LT.replace "cd PROJECTNAME && " ""
|
||||
else LT.replace "PROJECTNAME" (LT.pack project)
|
||||
|
||||
TLIO.putStr $ projectnameReplacer $ renderTextUrl undefined $(textFile "input/done.cg")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user