python10 lines
6.9/10
NASTY
AI ROASTFired at 13 ratings - once per post
You wrote a function called cleanup and pointed it at the root of the filesystem, where "test" is a perfectly innocent folder you are now deleting with rmtree. This isn't freeing disk space, it's a space program for your entire machine.
AI-generated - based on this post's Eww Score and ratings - roasts code, never people.