Skip to content

constantly crashing on exception #31

@hotfusion

Description

@hotfusion

This module is not working as supposed to, it crash and exit node application due to the error:
TypeError: Cannot read properties of undefined (reading 'sort')

tree.js:315:27

if (_flags.directoryFirst) {
          parent.children.sort(_comparePriority);
        }

the callback onError does nothing when exception occurred but instead it crash my application:

onError({path,err}){
       
}

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