From 29ba362b81b3b50e3c410326c1812c4dfcb9c5ec Mon Sep 17 00:00:00 2001 From: tmorin Date: Sat, 14 Oct 2023 10:40:30 +0200 Subject: [PATCH] fixup! feat(azure-17): add the package --- source/library/index.ts | 2 ++ source/library/packages/azure-17/index.ts | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/library/index.ts b/source/library/index.ts index 6365887418..c396ecf710 100644 --- a/source/library/index.ts +++ b/source/library/index.ts @@ -34,7 +34,9 @@ const PACKAGE_FACTORIES = [ new Material4Factory(), new Simpleicons8Factory(), ] + export const PACKAGES = PACKAGE_FACTORIES.map((d) => d.getUrn()) + async function emptyModule(urn: string): Promise { return Promise.resolve({ urn, diff --git a/source/library/packages/azure-17/index.ts b/source/library/packages/azure-17/index.ts index 229f2e6e5b..5c65fe7616 100644 --- a/source/library/packages/azure-17/index.ts +++ b/source/library/packages/azure-17/index.ts @@ -18,7 +18,7 @@ const ICONS_URL = `https://arch-center.azureedge.net/icons/Azure_Public_Service_ export class AzureV17Factory implements PackageFactory { getUrn(): string { - return `azure-${ICONS_VERSION}}` + return `azure-${ICONS_VERSION}` } private getItemUrn(imageSrcPath: string) { @@ -49,7 +49,6 @@ export class AzureV17Factory implements PackageFactory { nodir: true, }) ).sort((a, b) => a.localeCompare(b)) - context.info( "discovered %s pictures file from %s", discoveredSvg.length,