Skip to content

fix: address review feedback on PR #89#93

Merged
Yakitrak merged 1 commit into
Yakitrak:mainfrom
TriplEight:fix-review-feedback
Mar 1, 2026
Merged

fix: address review feedback on PR #89#93
Yakitrak merged 1 commit into
Yakitrak:mainfrom
TriplEight:fix-review-feedback

Conversation

@TriplEight

Copy link
Copy Markdown
Contributor

Closes #89

Addresses the review comments from #89:

  • vault_path.go: return absolute path names directly without reading obsidian.json, handling the common case of storing full paths as the default vault
  • set_default.go: path resolution after setting the vault name is best-effort; use fmt.Fprintln(os.Stderr, ...) instead of log.Printf for consistency with surrounding fmt.Println calls
  • vault_path_test.go: use t.Cleanup for mock restore so it runs even if t.Fatal fires inside the mock; fix WSL C: drive test to use "Obsidian Vault" as the vault name matching the path suffix

Checklist:

  • I have written unit tests for my changes.
  • All new and existing tests passed.

- vault_path.go: return absolute path names directly without reading
  obsidian.json, handling the common case of storing full paths as the
  default vault
- set_default.go: path resolution after setting the vault name is now
  best-effort; use fmt.Fprintln(os.Stderr) instead of log.Printf for
  consistency with surrounding fmt.Println calls
- vault_path_test.go: use t.Cleanup for mock restore so it runs even if
  t.Fatal fires; fix WSL C: drive test to use "Obsidian Vault" as vault
  name matching the path suffix, per reviewer suggestion
@Yakitrak Yakitrak self-requested a review February 25, 2026 19:14
@Yakitrak

Copy link
Copy Markdown
Owner

Thank you for the new PR, I will take a look as soon as I can!

@TriplEight

Copy link
Copy Markdown
Contributor Author

Btw I wrote a skill that uses your CLI: https://clawhub.ai/TriplEight/obsidian-linux
might be worth it adding to the docs

@Yakitrak Yakitrak left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Yakitrak Yakitrak merged commit c011f9e into Yakitrak:main Mar 1, 2026
@TriplEight TriplEight deleted the fix-review-feedback branch March 1, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants