Expected a string TypeError
artsuhov opened this issue · 0 comments
Describe the bug
Hello. I tried to use your foam-template and everything was great.
I decided to delete various files and directories that I did not plan to use.
So my workspace file structure looks like this:
❯ ls -a1 . .. .DS_Store .foam .git .vscode inbox.md
After that I still can see tags (from your sample)
I tried to run janitor, but received this error message:
Expected a string TypeError: Expected a string at kx (/Users/qwe123/.vscode/extensions/foam.foam-vscode-0.25.6/out/extension.js:60:12353) at /Users/qwe123/.vscode/extensions/foam.foam-vscode-0.25.6/out/extension.js:264:405 at async Promise.all (index 0) at NB (/Users/qwe123/.vscode/extensions/foam.foam-vscode-0.25.6/out/extension.js:264:661)
Small Reproducible Example
No response
Steps to Reproduce the Bug or Issue
- checkout https://github.com/foambubble/foam-template
- delete some folders, files; (keep this structure: .foam, .git, .vscode, inbox.md);
- perform
command pallete -> foam: run janitor
Expected behavior
I expected that janitor finishes successful and all tags from deleted files disappear
Screenshots or Videos
There are tags from deleted files. Commit and Push don't help.
Operating System Version
macOs
Visual Studio Code Version
Version: 1.85.1
Additional context
No response