Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
Co-authored-by: paulfouquet <86932794+paulfouquet@users.noreply.github.com>
  • Loading branch information
amfage and paulfouquet authored Nov 18, 2024
1 parent 6fa8f87 commit 51cd44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/generate-path/path.generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function generatePath(metadata: PathMetadata): string {
return `s3://${metadata.targetBucketName}/${metadata.region}/${metadata.slug}/${metadata.geospatialCategory}_${metadata.gsd}m/${metadata.epsg}/`;
}

throw new Error(`Path Can't be generated from collection as no matching category: ${metadata.geospatialCategory}.`);
throw new Error(`Path can't be generated from collection as no matching category for ${metadata.geospatialCategory}.`);
}

function formatBucketName(bucketName: string): string {
Expand Down

0 comments on commit 51cd44d

Please sign in to comment.