mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-12-28 22:46:22 +03:00
Make hlint happy
This commit is contained in:
parent
fd8214dc7b
commit
976d336b61
@ -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,7 +274,7 @@ buildRelease = do
|
||||
initialState :: IO HapistranoState
|
||||
initialState = do
|
||||
ts <- currentTimestamp
|
||||
return $ HapistranoState { _config = testConfig
|
||||
return HapistranoState { _config = testConfig
|
||||
, _timestamp = ts
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user