Closed edmundmiller closed 3 weeks ago
The backslash issue is fixed on main. Can you give an example of the second issue?
Awesome! Let me give it a test and see if that fixes the issue. Original:
cat <<-END_VERSIONS > versions.yml
"${task.process}":
python: \$(python --version | sed 's/Python //g')
pints: \$(pints_caller --version)
END_VERSIONS
First pass:
cat <<-END_VERSIONS > versions.yml
"${task.process}":
python: \\$(python --version | sed 's/Python //g')
pints: \\$(pints_caller --version)
END_VERSIONS
Second Pass:
cat <<-END_VERSIONS > versions.yml
"${task.process}":
python: \\\\python --version | sed 's/Python //g')
pints: \\\\pints_caller --version)
END_VERSIONS
Just tested out main, that fixed it! Thanks!
When I run formatting on a module file every backslash gets a double backslash.
\\
becomes\\\\
and then keeps going.It also looks like \$ like in the echo statement of a version.yml output also removes the $ and doubles the .