<#23132 Error in the doc regarding cleaning of cac...
# github-notifications
q
#23132 Error in the doc regarding cleaning of cache Issue created by JR-Utily Describe the bug There is an error in the script given in the doc to clear the cache https://www.pantsbuild.org/stable/docs/using-pants/using-pants-in-ci#directories-to-cache The doc gives a script that ends by
Copy code
mv "${path}" "${nuke_path}/"
     rm -rf "${nuke_prefix}.*"
but it should be
Copy code
mv "${path}" "${nuke_path}/"
     rm -rf "${nuke_prefix}".*
If the .* is inside the "" it is not interpreted by the shell. Pants version All OS Linux pantsbuild/pants