Add more debug statements

This commit is contained in:
Daniel Lindmark 2024-05-15 11:48:57 -05:00
parent 28525b67d1
commit 50fe8828fc

View File

@ -78,12 +78,16 @@ design_review = DesignReview.request(allspice, args.repo_owner, args.repo_name,
file_name = "design_review_comments.md"
comments = design_review.get_comments()
with open(file_name, 'a') as f:
f.write(f"{comments}")
for comment in comments:
# write to file
with open(file_name, 'a') as f:
f.write(f"{comment}")
# f.write(f"Comment: {comment.text}\n")
f.write("\n")
for thing in comment:
# write to file
with open(file_name, 'a') as f:
f.write(f"{comment}")
# f.write(f"Comment: {comment.text}\n")
f.write("\n")
# Close file
f.close()