mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 01:15:51 +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]*?\},?')
|
redefined = re.compile(r'.*(\"' + key + r'\"[\s\:\S]*?)\{[\s\S]*?\},?')
|
||||||
found = redefined.search(self._content)
|
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
|
# 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:
|
if len(found.group().splitlines()) > 1:
|
||||||
replacements = []
|
replacements = []
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user