Skip to content

Commit

Permalink
fix(journal): don't create file twice
Browse files Browse the repository at this point in the history
  • Loading branch information
champignoom committed Jan 3, 2024
1 parent be783f9 commit 712eac3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lua/neorg/modules/core/journal/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ module.private = {

module.required["core.dirman"].create_file(folder_name .. config.pathsep .. path, workspace)

module.required["core.dirman"].create_file(folder_name .. config.pathsep .. path, workspace)

if
not journal_file_exists
and module.config.public.use_template
Expand Down

0 comments on commit 712eac3

Please sign in to comment.