@@ -50,7 +50,7 @@ interface HostedExtensionInfo {
50
50
readonly preRelease ?: boolean ;
51
51
readonly packageJSON ?: IExtensionManifest ;
52
52
readonly defaultPackageTranslations ?: ITranslations | null ;
53
- readonly packagetNLSUris ?: Map < string , UriComponents > ;
53
+ readonly packageNLSUris ?: Map < string , UriComponents > ;
54
54
readonly readmeUri ?: UriComponents ;
55
55
readonly changelogUri ?: UriComponents ;
56
56
}
@@ -243,15 +243,15 @@ export class WebExtensionsScannerService extends Disposable implements IWebExten
243
243
return [ ] ;
244
244
}
245
245
const result : IScannedExtension [ ] = [ ] ;
246
- await Promise . allSettled ( extensionLocations . map ( async ( { location, preRelease, packagetNLSUris , packageJSON, defaultPackageTranslations, readmeUri, changelogUri } ) => {
246
+ await Promise . allSettled ( extensionLocations . map ( async ( { location, preRelease, packageNLSUris , packageJSON, defaultPackageTranslations, readmeUri, changelogUri } ) => {
247
247
try {
248
248
const webExtension = await this . toWebExtension ( URI . revive ( location ) , undefined ,
249
249
packageJSON ,
250
- packagetNLSUris ? [ ...packagetNLSUris . entries ( ) ] . reduce ( ( result , [ key , value ] ) => { result . set ( key , URI . revive ( value ) ) ; return result ; } , new Map < string , URI > ( ) ) : undefined ,
250
+ packageNLSUris ? [ ...packageNLSUris . entries ( ) ] . reduce ( ( result , [ key , value ] ) => { result . set ( key , URI . revive ( value ) ) ; return result ; } , new Map < string , URI > ( ) ) : undefined ,
251
251
defaultPackageTranslations ,
252
252
URI . revive ( readmeUri ) ,
253
253
URI . revive ( changelogUri ) ,
254
- { preRelease } ) ;
254
+ { isPreReleaseVersion : preRelease } ) ;
255
255
const extension = await this . toScannedExtension ( webExtension , true ) ;
256
256
if ( extension . isValid || ! scanOptions ?. skipInvalidExtensions ) {
257
257
result . push ( extension ) ;
0 commit comments