Commit 2ccd79e5 authored by Dmitry's avatar Dmitry
Browse files

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.
parents 656489c5 bb8294aa
Loading
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -978,13 +978,6 @@ glue_md_reports() {
  echo -e "$tableOfContents" >> "${out_fname}"
  echo -e "$summaryTable\n\n" >> "${out_fname}"
  echo -e "$content" >> "${out_fname}"

  if [[ "$PDF" == "true" ]]; then
    ./resources/md2pdf.sh --pdf ${MD_REPORTS_DIR}/${FULL_REPORT_FNAME}
  fi
  if [[ "$HTML" == "true" ]]; then
    ./resources/md2pdf.sh --html ${MD_REPORTS_DIR}/${FULL_REPORT_FNAME}
  fi
}

#######################################