Skip to content

Commit

Permalink
also fix deploy test for mutliline files
Browse files Browse the repository at this point in the history
  • Loading branch information
kgartland-rstudio authored Aug 26, 2024
1 parent 717f980 commit 69e682d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/bats/contract/deploy.bats
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ init_with_fields() {
perl -i -pe '$_ .= qq(description = "'"${CONTENT}"' description"\n) if /title/' ${FULL_PATH}/.posit/publish/${CONTENT}.toml

if [[ ${ADDITIONAL_FILES} ]]; then
perl -i -pe "s/(files = \[.*)\]/\1, '${ADDITIONAL_FILES}']/" ${FULL_PATH}/.posit/publish/${CONTENT}.toml
perl -i -0777 -pe "s/(files = \[.*?)(\s*\])/\1, '${ADDITIONAL_FILES}'\2/s" ${FULL_PATH}/.posit/publish/${CONTENT}.toml
fi

# add Connect runtime fields for interactive content
Expand Down

0 comments on commit 69e682d

Please sign in to comment.