Make github-hide-prefix apply to !gt as well
This commit is contained in:
parent
120eb03173
commit
52092cfe28
1 changed files with 4 additions and 0 deletions
|
@ -175,6 +175,10 @@ class Module(ModuleManager.BaseModule):
|
||||||
:usage: events <hook> [category [category ...]]
|
:usage: events <hook> [category [category ...]]
|
||||||
:usage: branches <hook> [branch [branch ...]]
|
:usage: branches <hook> [branch [branch ...]]
|
||||||
"""
|
"""
|
||||||
|
if event["target"].get_setting("github-hide-prefix", False)):
|
||||||
|
event["stdout"].hide_prefix()
|
||||||
|
event["stderr"].hide_prefix()
|
||||||
|
|
||||||
all_hooks = event["target"].get_setting("github-hooks", {})
|
all_hooks = event["target"].get_setting("github-hooks", {})
|
||||||
hook_name = None
|
hook_name = None
|
||||||
existing_hook = None
|
existing_hook = None
|
||||||
|
|
Loading…
Reference in a new issue