mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
fix isValidNPMName
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user