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,10 +106,10 @@ for file in "$SRC_DIR"/*.user.js; do
106106 printf ' %s\n\n' " $loc_count_badge " >> " $doc_file "
107107 (( loc_count_total += loc_count))
108108
109- " ${readme_comment: +$' ## Info\n ' " $( sed ' 1d;$d' <<< " $readme_comment" ) " $' \n ' } " >> " $doc_file "
109+ printf ' %s ' " ${readme_comment: +$' ## Info\n ' " $( sed ' 1d;$d' <<< " $readme_comment" ) " $' \n ' } " >> " $doc_file "
110110
111111 screenshots=" $( find " $SCREENSHOTS_DIR " -type f -iname " $id -*.*" -printf ' %f\n' | sort) "
112- " ${screenshots: +$' ## Screenshots\n ' " $( sed -E ' s|(.*)||' <<< " $screenshots" ) " } " >> " $doc_file "
112+ printf ' %s ' " ${screenshots: +$' ## Screenshots\n ' " $( sed -E ' s|(.*)||' <<< " $screenshots" ) " } " >> " $doc_file "
113113
114114 # --- 5. ADD ROW TO README TABLE ---
115115 escaped_script_name=" $( sed ' s#|#\\|#g' <<< " $script_name" ) "
You can’t perform that action at this time.
0 commit comments