Commit 24b20340 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

CodiMD backup: Fix warning

parent 04c84ab1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ while read -r DOCID FILEPATH; do
    echo "**DO NOT EDIT**" > "$FILEPATH"
    echo "This file will be automatically overwritten. " >> "$FILEPATH"
    echo "Instead, edit the file at ${CODIMD_SERVER}/${DOCID} " >> "$FILEPATH"
    echo "**DO NOT EDIT**" > "$FILEPATH"
    echo "**DO NOT EDIT**" >> "$FILEPATH"
    echo "" > "$FILEPATH"
    $CODIMD export --md "$DOCID" "-" >> "$FILEPATH"
    git add "$FILEPATH"