Skip to content

Commit

Permalink
Typo -- execute pre & post hooks, not pre & pre hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
samtay committed Dec 13, 2016
1 parent d531bff commit e15e53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dockmaster/Parser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ hookWrap' cfg dcCmd action = do
-- Gather command configuration hooks/pass-through
let cmdCfg = lookup dcCmd $ dmCommands cfg
pre = maybe [] ccPreHooks cmdCfg
post = maybe [] ccPreHooks cmdCfg
post = maybe [] ccPostHooks cmdCfg
pass = maybe True ccCompose cmdCfg
mapM_ execHook pre -- Exec pre hooks
when pass action -- Exec docker-compose (unless pass-through = false)
Expand Down

0 comments on commit e15e53b

Please sign in to comment.