Skip to content

Commit

Permalink
test: ignore line for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed Oct 22, 2023
1 parent 1ac85fd commit af383a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/language/validation/builtins/target.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ export const annotationCallMustHaveCorrectTarget = (services: SafeDsServices) =>
}

const actualTarget = getActualTarget(node);
/* c8 ignore start */
if (!actualTarget) {
return;
}
/* c8 ignore stop */

const validTargets = builtinAnnotations
.streamValidTargets(annotation)
Expand Down

0 comments on commit af383a4

Please sign in to comment.