From b011fc95616e5de0d27c06d6d6c25845bb8c6283 Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Wed, 30 Nov 2022 10:51:09 +0100 Subject: [PATCH] Add comment referencing GH issue https://github.com/platisd/clang-tidy-pr-comments/issues/37 --- printer-linter/src/printerlinter/linters/defintion.py | 1 + 1 file changed, 1 insertion(+) diff --git a/printer-linter/src/printerlinter/linters/defintion.py b/printer-linter/src/printerlinter/linters/defintion.py index 8c221be467..d684cd98e9 100644 --- a/printer-linter/src/printerlinter/linters/defintion.py +++ b/printer-linter/src/printerlinter/linters/defintion.py @@ -46,6 +46,7 @@ class Definition(Linter): redefined = re.compile(r'.*(\"' + key + r'\"[\s\:\S]*?)\{[\s\S]*?\},?') found = redefined.search(self._content) # TODO: Figure out a way to support multiline fixes in the PR review GH Action, for now suggest no fix to ensure no ill-formed json are created + # see: https://github.com/platisd/clang-tidy-pr-comments/issues/37 if len(found.group().splitlines()) > 1: replacements = [] else: