mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 05:28:13 +02:00
commented out annoying code
This commit is contained in:
@ -219,10 +219,10 @@ def new_comments(pr: PullRequest, new_metadata: Metadata_new) -> list[Comment]:
|
|||||||
if ret[0].from_ is None:
|
if ret[0].from_ is None:
|
||||||
ret[0].from_ = review_comments[0].original_line
|
ret[0].from_ = review_comments[0].original_line
|
||||||
|
|
||||||
if ret[0].from_ is None or ret[0].to is None:
|
# if ret[0].from_ is None or ret[0].to is None:
|
||||||
print(
|
# print(
|
||||||
f"PR #{new_metadata.pr_number} in {new_metadata.repo} has a comment without line numbers"
|
# f"PR #{new_metadata.pr_number} in {new_metadata.repo} has a comment without line numbers"
|
||||||
)
|
# )
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user