mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-09-11 15:26:19 +03:00
Fix types after merge
This commit is contained in:
parent
662219cd69
commit
453986cf1a
@ -17,8 +17,8 @@ replaceTemplatePlaceholdersInWaspFile ::
|
||||
NewProjectAppName -> NewProjectName -> Path' Abs (Dir WaspProjectDir) -> IO ()
|
||||
replaceTemplatePlaceholdersInWaspFile appName projectName projectDir = do
|
||||
findWaspFile projectDir >>= \case
|
||||
Left _ -> return ()
|
||||
Right absMainWaspFile ->
|
||||
Nothing -> return ()
|
||||
Just absMainWaspFile ->
|
||||
updateFileContentWith absMainWaspFile (replacePlaceholders waspFileReplacements)
|
||||
where
|
||||
updateFileContentWith :: Path' Abs (File f) -> (Text -> Text) -> IO ()
|
||||
|
Loading…
Reference in New Issue
Block a user