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

TypeError: Cannot read property 'map' of undefined #1

Open
daniel-vera-g opened this issue May 13, 2021 · 0 comments
Open

TypeError: Cannot read property 'map' of undefined #1

daniel-vera-g opened this issue May 13, 2021 · 0 comments

Comments

@daniel-vera-g
Copy link

daniel-vera-g commented May 13, 2021

Running the janitor gives me:

➜ foam janitor 
⠋ Reading Files[info] Workspace folders:  [ './' ]
[info] Glob patterns { includeGlobs: [ './**/*' ], ignoreGlobs: [ './**/node_modules/**' ] }
    TypeError: Cannot read property 'map' of undefined

Maybe the issue comes from: https://github.com/foambubble/foam-cli/blob/main/src/commands/janitor.ts#L61

I'm not sure how the notes are queried. Maybe there's the issue.

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