Skip to content

Commit

Permalink
Tread lightly, there may be nulls
Browse files Browse the repository at this point in the history
  • Loading branch information
jafeltra committed Jan 24, 2024
1 parent 047b02b commit e16e997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ig/IGExporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ export class IGExporter {
const deeplyNestedFiles: string[] = [];
const configuredBinaryResources = (this.config.resources ?? []).filter(
resource =>
resource.reference?.reference.startsWith('Binary/') &&
resource.reference?.reference?.startsWith('Binary/') &&
resource.extension?.some(e => igResourceFormatExtensionUrls.includes(e.url))
);
for (const dirPath of predefinedResourcePaths) {
Expand Down

0 comments on commit e16e997

Please sign in to comment.