提交 f7653eb0 编写于 作者: E Erich Gamma

Fixing NPM Scripts explorer shows the root folder only on the root package.json #50845

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