mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 02:28:58 +08:00
Add comment referencing GH issue
https://github.com/platisd/clang-tidy-pr-comments/issues/37
This commit is contained in:
parent
dbc0ac1180
commit
b011fc9561
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user