File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ def main():
106106 if content :
107107 va_re_gen = ValidationReportGenerator (config_manager , git_agent .metadata )
108108 va_re_gen .build_pdf ("Document" , content )
109- if create_fork :
109+ if create_fork and os . path . exists ( va_re_gen . output_path ) :
110110 git_agent .upload_report (va_re_gen .filename , va_re_gen .output_path )
111111 plan .mark_done ("validate_doc" )
112112 else :
@@ -120,7 +120,7 @@ def main():
120120 if content :
121121 va_re_gen = ValidationReportGenerator (config_manager , git_agent .metadata )
122122 va_re_gen .build_pdf ("Paper" , content )
123- if create_fork :
123+ if create_fork and os . path . exists ( va_re_gen . output_path ) :
124124 git_agent .upload_report (va_re_gen .filename , va_re_gen .output_path )
125125 plan .mark_done ("validate_paper" )
126126 else :
You can’t perform that action at this time.
0 commit comments