Skip to content

Commit

Permalink
fixup! feat(azure-17): add the package
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorin committed Oct 14, 2023
1 parent 7e6d58e commit 29ba362
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions source/library/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Package> {
return Promise.resolve({
urn,
Expand Down
3 changes: 1 addition & 2 deletions source/library/packages/azure-17/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 29ba362

Please sign in to comment.