Dangerous
jq -r '.artifacts[] | .path' build.json | xargs rm -flinux · bash · Advanced
xargs splits on whitespace and honours quotes, so a recorded path such as build/my report.tmp becomes two arguments and rm deletes whatever…
The full explanation and danger signals for this pack are part of Pro.
Think you can spot these under time pressure?
Start Training