Skip to content

Commit

Permalink
Naming
Browse files Browse the repository at this point in the history
  • Loading branch information
FurqanHabibi committed May 17, 2024
1 parent 2c365d7 commit f601115
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tfcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def remove_plan(report: str) -> str:
)

if args.report or args.full_report:
full_report = template.render(
report = template.render(
path=result.path,
init_result=result.init_result(),
check_result=result.check_result_msg(),
Expand All @@ -187,11 +187,10 @@ def remove_plan(report: str) -> str:
)

if args.full_report:
args.full_report.write(full_report)
args.full_report.write(report)

report = full_report
if len(full_report) > 65536:
report = remove_plan(full_report)
if len(report) > 65536:
report = remove_plan(report)

args.report.write(report)

Expand Down

0 comments on commit f601115

Please sign in to comment.