Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 40483ba

Browse files
committed
Remove duplication
1 parent 3212557 commit 40483ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

install/src/Stack.hs

+1-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ execStackWithGhc versionNumber args = do
7878

7979
-- | Execute a stack command for a specified stack.yaml file, discarding the output
8080
execStackWithCfgFile_ :: String -> [String] -> Action ()
81-
execStackWithCfgFile_ stackFile args =
82-
command_ [] "stack" (("--stack-yaml=" ++ stackFile) : args)
81+
execStackWithCfgFile_ = execStackWithCfgFile
8382

8483
-- | Execute a stack command for a specified stack.yaml file
8584
execStackWithCfgFile :: CmdResult r => String -> [String] -> Action r

0 commit comments

Comments
 (0)