Skip to content

Commit

Permalink
fix: fix annotations query
Browse files Browse the repository at this point in the history
  • Loading branch information
WitoDelnat committed Jul 28, 2023
1 parent 124c58e commit 4568038
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class AnnotationSuppressor implements Suppressor {
return [];
}

const annotations = resource.content.metadata.annotations;
const annotations = resource.content?.metadata?.annotations;

if (!annotations) {
return [];
Expand Down

0 comments on commit 4568038

Please sign in to comment.