From d566204527bfd0376d9eef0d76ebfa638fd455e8 Mon Sep 17 00:00:00 2001 From: Ole Eskild Steensen Date: Tue, 11 Jun 2024 20:10:47 +0200 Subject: [PATCH] linting --- src/views/PublicationCenter/PublicationCenter.svelte | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/PublicationCenter/PublicationCenter.svelte b/src/views/PublicationCenter/PublicationCenter.svelte index b4a2e13..621564f 100644 --- a/src/views/PublicationCenter/PublicationCenter.svelte +++ b/src/views/PublicationCenter/PublicationCenter.svelte @@ -191,14 +191,15 @@ publishedPaths = [...processingPaths]; processingPaths = []; - for(const path of notesToDelete) { + + for (const path of notesToDelete) { processingPaths = [...processingPaths, path]; await publisher.deleteNote(path); processingPaths = processingPaths.filter((p) => p !== path); publishedPaths = [...publishedPaths, path]; } - for(const path of imagesToDelete) { + for (const path of imagesToDelete) { processingPaths = [...processingPaths, path]; await publisher.deleteImage(path); processingPaths = processingPaths.filter((p) => p !== path);