提交 6bee7fc4 编写于 作者: E Erich Gamma

Simplify label and do not show the folder name

上级 f7653eb0
......@@ -45,9 +45,9 @@ class PackageJSON extends TreeItem {
static getLabel(folderName: string, relativePath: string): string {
if (relativePath.length > 0) {
return path.join(folderName, relativePath, packageName);
return path.join(relativePath, packageName);
}
return path.join(folderName, packageName);
return packageName;
}
constructor(folder: Folder, relativePath: string) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册