fmt: format using shfmt

This commit is contained in:
silver 2024-05-13 23:41:52 +01:00
parent d4869448fb
commit e6969ab164
Signed by untrusted user: silver
GPG key ID: 54E2C71918E93B74
2 changed files with 92 additions and 95 deletions

View file

@ -15,7 +15,7 @@ rm -f .md.toml
# if the user only wants teh html tehn early return
if [[ $1 == "html" ]]; then
exit 0;
exit 0
fi
# recursively parse _Handovers_html use wkhtmltopdf to convert to pdf

View file

@ -58,7 +58,6 @@ function build_html(){
cd $root
}
function build_pdf() {
# used to match **
shopt -s globstar
@ -94,9 +93,7 @@ function build_pdf(){
cd $root
}
if [[ $1 == "html" ]];
then
if [[ $1 == "html" ]]; then
build_html
else
build_html