Skip to content

Commit fe20d02

Browse files
authored
Update build.sh
1 parent 63b43b8 commit fe20d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ for file in "$SRC_DIR"/*.user.js; do
109109
printf '%s' "${readme_comment:+$'## Info\n'"$(sed '1d;$d' <<< "$readme_comment")"$'\n\n'}" >> "$doc_file"
110110

111111
screenshots="$(find "$SCREENSHOTS_DIR" -type f -iname "$id-*.*" -printf '%f\n' | sort)"
112-
printf '%s' "${screenshots:+$'## Screenshots\n<p align="center">\n'"$(sed -E 's|(.*)| <img src="screenshots/\1" alt="screenshot" align="middle">|' <<< "$screenshots")"$'</p>'}" >> "$doc_file"
112+
printf '%s' "${screenshots:+$'## Screenshots\n<p align="center">\n'"$(sed -E 's|(.*)| <img src="screenshots/\1" alt="screenshot" align="middle">|' <<< "$screenshots")"$'\n</p>'}" >> "$doc_file"
113113

114114
# --- 5. ADD ROW TO README TABLE ---
115115
escaped_script_name="$(sed 's#|#\\|#g' <<< "$script_name")"

0 commit comments

Comments
 (0)