Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Jan 12, 2025
1 parent ea22f8c commit 07e39b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cogify/src/cogify/cli/cli.cover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ export const BasemapsCogifyCoverCommand = command({
throw new Error(`No collection.json found with imagery: ${im.url.href}`);
}

const slug = im.collection?.['linz:slug']
if (slug != null) im.name = slug
const slug = im.collection?.['linz:slug'];
if (slug != null) im.name = slug as string;

const tms = SupportedTileMatrix.find((f) => f.identifier.toLowerCase() === args.tileMatrix.toLowerCase());
if (tms == null) throw new Error('--tile-matrix: ' + args.tileMatrix + ' not found');
Expand Down

0 comments on commit 07e39b1

Please sign in to comment.