tree-cli
tree-cli copied to clipboard
constantly crashing on exception
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}){
}