Skip to content

Uncaught (in promise) TypeError: Cannot read property 'map' of undefined #16

@mean-cj

Description

@mean-cj

Hello found error on dev console

Uncaught (in promise) TypeError: Cannot read property 'map' of undefined
at hide_items.js:41
at

 deserialize(itemsPaths, parents) {
    utilites.getTreeView().then((treeView) => {
      this.items = itemsPaths.map((path) => {
        let item = treeView.entryForPath(path);
        this.hideItem(item);
        return item;
      });

Atom v1.31.2
Windows 10

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions