Skip to content

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

Open
@daniel-vera-g

Description

@daniel-vera-g

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions