Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <[email protected]>
  • Loading branch information
jkowalleck committed Nov 13, 2024
1 parent 2dab187 commit 78a2faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/node/typescript/example.cjs/src/example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jsonValidator.validate(serializedJson)
if (err instanceof CDX.Validation.MissingOptionalDependencyError) {
console.info('JSON validation skipped:', err)
} else {
/* eslint-disable-next-line @typescript-eslint/only-throw-error -- forward */
/* xxx-eslint-disable-next-line @typescript-eslint/only-throw-error -- forward */
throw err

Check failure on line 69 in examples/node/typescript/example.cjs/src/example.ts

View workflow job for this annotation

GitHub Actions / test standard

ESLint Rule: @typescript-eslint/only-throw-error

Expected an error object to be thrown.
}
})
Expand Down

0 comments on commit 78a2faf

Please sign in to comment.