Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expected a string TypeError #1323

Open
artsuhov opened this issue Jan 14, 2024 · 0 comments
Open

Expected a string TypeError #1323

artsuhov opened this issue Jan 14, 2024 · 0 comments

Comments

@artsuhov
Copy link

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

  1. checkout https://github.com/foambubble/foam-template
  2. delete some folders, files; (keep this structure: .foam, .git, .vscode, inbox.md);
  3. 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.
image

Operating System Version

macOs

Visual Studio Code Version

Version: 1.85.1

Additional context

No response

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

No branches or pull requests

1 participant