From 52092cfe283198f435eb739e501c16adbfb4ae0c Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 27 Feb 2019 14:52:10 +0000 Subject: Make github-hide-prefix apply to !gt as well --- modules/github/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/github/__init__.py') diff --git a/modules/github/__init__.py b/modules/github/__init__.py index 9159cd16..e2098783 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -175,6 +175,10 @@ class Module(ModuleManager.BaseModule): :usage: events [category [category ...]] :usage: branches [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", {}) hook_name = None existing_hook = None -- cgit v1.3.1-10-gc9f91