Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #8 from baldo/master

Pass empty command line arguments to the custom binary.
  • Loading branch information...
commit b335d62f3a139b510eaeb6ae6f28130791661f96 2 parents 7d044d0 + 6d287f4
@willdonnelly authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 Config/Dyre/Options.hs
View
14 Config/Dyre/Options.hs
@@ -110,13 +110,13 @@ customOptions otherArgs = do
Nothing -> getArgs
Just oa -> return oa
-- Combine the other arguments with the Dyre-specific ones
- let args = filter (not . null) $
- mainArgs ++ [ if debugMode then "--dyre-debug" else ""
- , case stateFile of
- Nothing -> ""
- Just sf -> "--dyre-state-persist=" ++ sf
- , "--dyre-master-binary=" ++ fromJust masterPath
- ]
+ let args = mainArgs ++ (filter (not . null) $
+ [ if debugMode then "--dyre-debug" else ""
+ , case stateFile of
+ Nothing -> ""
+ Just sf -> "--dyre-state-persist=" ++ sf
+ , "--dyre-master-binary=" ++ fromJust masterPath
+ ])
return args
-- | Look for the given flag in the argument array, and store
Please sign in to comment.
Something went wrong with that request. Please try again.