I am facing an issue on this command line
sh.exec('find site/docs/4.1/examples/ -mindepth 1 -maxdepth 1 -type d -name "rtl-*" -
exec bash -c \'rm -rf site/docs/4.1/examples/$(basename "{}")/*\; rmdir
site/docs/4.1/examples/$(basename "{}")\' ;',(code))
which raises a find: missing argument to `-exec'
I am troubleshooting it with everything I found on the internet but none of the fix found help me. do you have an idea why it's not working ?