fix warning

This commit is contained in:
Joey Hess 2013-05-04 16:35:54 -04:00
parent 621384ead3
commit 001d82f953

View file

@ -313,12 +313,12 @@ driveList = return []
- repository, by running the postFirstRun callback, which returns the - repository, by running the postFirstRun callback, which returns the
- url to the new webapp. -} - url to the new webapp. -}
startFullAssistant :: FilePath -> StandardGroup -> Handler () startFullAssistant :: FilePath -> StandardGroup -> Handler ()
startFullAssistant path group = do startFullAssistant path repogroup = do
webapp <- getYesod webapp <- getYesod
url <- liftIO $ do url <- liftIO $ do
isnew <- makeRepo path False isnew <- makeRepo path False
u <- initRepo isnew True path Nothing u <- initRepo isnew True path Nothing
inDir path $ setStandardGroup u group inDir path $ setStandardGroup u repogroup
addAutoStartFile path addAutoStartFile path
changeWorkingDirectory path changeWorkingDirectory path
fromJust $ postFirstRun webapp fromJust $ postFirstRun webapp