mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-12-28 14:33:09 +03:00
Make hlint happy
This commit is contained in:
parent
fd8214dc7b
commit
976d336b61
11
src/Main.hs
11
src/Main.hs
@ -249,8 +249,9 @@ testConfig = Config { _deployPath = "/tmp/project"
|
||||
updateCacheRepo :: RC (Maybe String)
|
||||
updateCacheRepo = do
|
||||
conf <- use config
|
||||
remoteT $ "cd " ++ (cacheRepoPath conf) ++ " && " ++
|
||||
"git fetch origin +refs/heads/*:refs/heads/*"
|
||||
remoteT $ intercalate " && "
|
||||
[ "cd " ++ cacheRepoPath conf
|
||||
, "git fetch origin +refs/heads/*:refs/heads/*" ]
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
buildRelease :: RC (Maybe String)
|
||||
@ -273,9 +274,9 @@ buildRelease = do
|
||||
initialState :: IO HapistranoState
|
||||
initialState = do
|
||||
ts <- currentTimestamp
|
||||
return $ HapistranoState { _config = testConfig
|
||||
, _timestamp = ts
|
||||
}
|
||||
return HapistranoState { _config = testConfig
|
||||
, _timestamp = ts
|
||||
}
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
main :: IO ()
|
||||
|
Loading…
Reference in New Issue
Block a user