From e58e96a68d1b5497a8ee8ad6cbae6e230f1a0e7b Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 20 Oct 2018 13:38:10 +0200 Subject: [PATCH] Autoformat --- Code.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code.js b/Code.js index 4129f08..f711750 100644 --- a/Code.js +++ b/Code.js @@ -8,7 +8,7 @@ function cleanup() { function trashByQuery(query) { var threads = [] var removedThreads = 0 - + do { threads = GmailApp.search(query) for (var i = 0; i < threads.length; i++) { @@ -17,6 +17,6 @@ function trashByQuery(query) { removedThreads++ } } while (threads.length > 0 && removedThreads < MAX_DELETE_PER_LOOP) - + Logger.log('Removed %s threads for query "%s"', removedThreads, query) }