Make github-hide-prefix apply to !gt as well

This commit is contained in:
jesopo 2019-02-27 14:52:10 +00:00
parent 120eb03173
commit 52092cfe28

View file

@ -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