Skip to content

Commit

Permalink
convert_readme - use proper escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
richm committed Oct 11, 2023
1 parent 97bb662 commit 5361c61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/tox_lsr/config_files/tox-default.ini
Original file line number Diff line number Diff line change
Expand Up @@ -488,12 +488,13 @@ allowlist_externals = podman
bash
cat
rm
sed
setenv =
{[testenv]setenv}
commands = bash {lsr_scriptdir}/setup_module_utils.sh
{[lsr_config]commands_pre}
# Remove badges from README.md
sed -i '1,8 {/^\[\!.*actions\/workflows/d}' README.md
sed -i "1,8 \{/^\\\[\!.*actions\/workflows/d\}" README.md
{env:LSR_CONTAINER_RUNTIME:podman} run --rm --privileged \
-v {toxinidir}:/workdir --workdir /workdir \
docker://pandoc/core:latest \
Expand Down
3 changes: 2 additions & 1 deletion tests/fixtures/test_tox_merge_ini/result.ini
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,11 @@ allowlist_externals = podman
bash
cat
rm
sed
setenv = {[testenv]setenv}
commands = bash {lsr_scriptdir}/setup_module_utils.sh
{[lsr_config]commands_pre}
sed -i '1,8 {/^\[\!.*actions\/workflows/d}' README.md
sed -i "1,8 \{/^\\\[\!.*actions\/workflows/d\}" README.md
{env:LSR_CONTAINER_RUNTIME:podman} run --rm --privileged \
-v {toxinidir}:/workdir --workdir /workdir \
docker://pandoc/core:latest \
Expand Down

0 comments on commit 5361c61

Please sign in to comment.