Skip to content
This repository was archived by the owner on Jul 6, 2021. It is now read-only.

Commit 2ccd79e

Browse files
committed
fix: double start of html/pdf generation fixed
In case when options `--pdf` and/or `--html` were enabled generation of HTML and PDF files was executed twice. In this MR such behaviour was fixed.
2 parents 656489c + bb8294a commit 2ccd79e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

checkup

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -978,13 +978,6 @@ glue_md_reports() {
978978
echo -e "$tableOfContents" >> "${out_fname}"
979979
echo -e "$summaryTable\n\n" >> "${out_fname}"
980980
echo -e "$content" >> "${out_fname}"
981-
982-
if [[ "$PDF" == "true" ]]; then
983-
./resources/md2pdf.sh --pdf ${MD_REPORTS_DIR}/${FULL_REPORT_FNAME}
984-
fi
985-
if [[ "$HTML" == "true" ]]; then
986-
./resources/md2pdf.sh --html ${MD_REPORTS_DIR}/${FULL_REPORT_FNAME}
987-
fi
988981
}
989982

990983
#######################################

0 commit comments

Comments
 (0)