Today I insisted someone tested some PowerShell script modifications proposed by...
Andrew Hodgson @andrew@hodgson.io
Today I insisted someone tested some PowerShell script modifications proposed by GitHub CoPilot before we pushed those scripts out. This was for removing empty directories, and I knew even before I looked at the PR we would be in a situation where it would try and delete a non-empty directory. Anyway I was right and whatever we prompted it tried to fix the problem with more elaborate fixes before I gave up and asked it to scan each directory to identify child objects before removing it.