Skip to content

Commit d8bac78

Browse files
authored
Fix Excessive Logging Issue with :ObsidianToday Command (#526)
* remove excessive logging from :ObsidianToday command * updated changelog
1 parent d70f328 commit d8bac78

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
### Fixed
11+
12+
- Removed excessive logging when running `:ObsidianToday` command with a defined template, resulting in cleaner output and a more streamlined user experience.
13+
1014
## [v3.7.6](https://github.com/epwalsh/obsidian.nvim/releases/tag/v3.7.6) - 2024-04-01
1115

1216
### Fixed

lua/obsidian/templates.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ M.clone_template = function(opts)
123123
assert(note_file:close())
124124

125125
local new_note = Note.from_file(note_path)
126-
vim.print(new_note)
127126

128127
-- Transfer fields from `opts.note`.
129128
new_note.id = opts.note.id

0 commit comments

Comments
 (0)