Skip to content

Commit

Permalink
fix: create resource folder for Logseq, no matter what (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
akosbalasko authored Feb 1, 2023
1 parent 9a04a33 commit 33e823a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/folder-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ export const setPaths = (enexSource: string): void => {
}

fsExtra.mkdirsSync(paths.mdPath);
if (!yarleOptions.haveEnexLevelResources && !yarleOptions.haveGlobalResources) {
if ((!yarleOptions.haveEnexLevelResources && !yarleOptions.haveGlobalResources) ||
yarleOptions.outputFormat === OutputFormat.LogSeqMD) {
fsExtra.mkdirsSync(paths.resourcePath);
}
loggerInfo(`path ${paths.mdPath} created`);
Expand Down

0 comments on commit 33e823a

Please sign in to comment.