Remove duplication

This commit is contained in:
jneira 2020-01-29 10:09:52 +01:00
parent 3212557fe6
commit 40483ba367

View File

@ -78,8 +78,7 @@ execStackWithGhc versionNumber args = do
-- | Execute a stack command for a specified stack.yaml file, discarding the output
execStackWithCfgFile_ :: String -> [String] -> Action ()
execStackWithCfgFile_ stackFile args =
command_ [] "stack" (("--stack-yaml=" ++ stackFile) : args)
execStackWithCfgFile_ = execStackWithCfgFile
-- | Execute a stack command for a specified stack.yaml file
execStackWithCfgFile :: CmdResult r => String -> [String] -> Action r