mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-25 11:51:41 -07: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue