提交 2227c707 编写于 作者: I isidor

explorer model: children can have no name, guard against that

上级 62f3ebeb
......@@ -277,7 +277,7 @@ export class ExplorerItem {
}
private getPlatformAwareName(name: string): string {
return isLinux ? name : name.toLowerCase();
return (isLinux || !name) ? name : name.toLowerCase();
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册