mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Fixing NPM Scripts explorer shows the root folder only on the root package.json #50845
This commit is contained in:
parent
2c0167ef99
commit
f7653eb02b
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue