I made a google scripts function to clear my trashed files. I tried running it, and it did nothing. No logs either.
function clearTrashed() {
var files2 = DriveApp.getFiles();
while (files2.hasNext()) {
var currentFile2 = files2.next();
if (currentFile2.isTrashed()) {
Drive.Files.remove(currentFile2.getId());
Logger.log("Deleted file: " + currentFile2.getName());
}
}
}
I also have the Drive Api enabled in my google developers console and in advanced google services. It doesn't see any trashed files, because otherwise it would log them. Would add the tag google-script but dont have enough rep for it