fix error message
This commit is contained in:
parent
bb205c01d0
commit
4a019da349
1 changed files with 1 additions and 1 deletions
|
@ -1063,7 +1063,7 @@ export async function pack(options: IPackageOptions = {}): Promise<IPackageResul
|
|||
if (options.web && isWebKind(manifest)) {
|
||||
const extensionsReport = await util.getPublicGalleryAPI().getExtensionsReport();
|
||||
if (!isSupportedWebExtension(manifest, extensionsReport)) {
|
||||
throw new Error(`Cannot pack as web extension as it is not supported`);
|
||||
throw new Error(`This extension cannot be packed as a web extension because it is not supported.`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue