Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
oleeskild committed Jun 11, 2024
1 parent 0257051 commit d566204
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/PublicationCenter/PublicationCenter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d566204

Please sign in to comment.