fix error message
This commit is contained in:
parent
3ca7cf5db1
commit
97209ac08d
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ runBool subcommand params repo = assertLocal repo $
|
||||||
run :: String -> [CommandParam] -> Repo -> IO ()
|
run :: String -> [CommandParam] -> Repo -> IO ()
|
||||||
run subcommand params repo = assertLocal repo $
|
run subcommand params repo = assertLocal repo $
|
||||||
unlessM (runBool subcommand params repo) $
|
unlessM (runBool subcommand params repo) $
|
||||||
error $ "git " ++ show params ++ " failed"
|
error $ "git " ++ subcommand ++ " " ++ show params ++ " failed"
|
||||||
|
|
||||||
{- Runs a git subcommand and returns its output, lazily.
|
{- Runs a git subcommand and returns its output, lazily.
|
||||||
-
|
-
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue