mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
fix isValidNPMName
This commit is contained in:
parent
2b7760fa1f
commit
42ddf0fd65
|
@ -263,7 +263,7 @@ export class PackageJSONContribution implements IJSONContribution {
|
|||
const name = match[2];
|
||||
return encodeURIComponent(name) === name;
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
private async fetchPackageInfo(pack: string): Promise<ViewPackageInfo | undefined> {
|
||||
|
|
Loading…
Reference in a new issue