From a41a37a738963309912152eed87b555474b16302 Mon Sep 17 00:00:00 2001 From: Erin Rivas Date: Tue, 20 Feb 2024 15:01:20 -0600 Subject: [PATCH] shuffling order --- src/store/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/store/main.ts b/src/store/main.ts index a097189..585f61a 100644 --- a/src/store/main.ts +++ b/src/store/main.ts @@ -240,11 +240,12 @@ class BStore implements IBStore { const sanity: string[] = [] if (!(await this.globalFileIo.detectFolder(['s', workspace, 'drafts'].join('/')))) sanity.push('drafts') if (!(await this.globalFileIo.detectFolder(['s', workspace, 'published'].join('/')))) sanity.push('published') + + await this.fetchWorkspaceFolder() if (sanity.length) { await this.globalFileIo.createFolders(this.workspaceFolder, sanity) } - await this.fetchWorkspaceFolder() await this.fetchDraftsFolder() await this.fetchPublishedFolder() } else {