Skip to content

Commit 3d46572

Browse files
PlaneshifterPraverBajaj
authored andcommitted
build: refactor to avoid unterminated substitute pattern error
--- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent a539b4b commit 3d46572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scripts/create_address_commit_comments_issues

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ update_commit_map() {
248248
local endLine=$(( line + 3 ))
249249
local code_snippet="https://github.com/stdlib-js/stdlib/blob/${key}/${path}#L${startLine}-L${endLine}"
250250

251-
local formatted_body=$(echo "${body}" | sed $'s/\n/\n /g')
251+
local formatted_body=$(echo "${body}" | awk '{if(NR==1) {print $0} else {print " " $0}}')
252252

253253
for existing in "${commit_keys[@]}"; do
254254
if [ "$existing" = "$key" ]; then

0 commit comments

Comments
 (0)