Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Nov 1, 2024
1 parent ab25fdf commit c920634
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const validateLevel = (level) => {
}

if (!LEVELS.has(level)) {
// eslint-disable-next-line fp/no-mutating-methods
const availableLevels = [...LEVELS].sort().join(', ')
throw new TypeError(
`Option "level" must not be "${level}" but one of: ${availableLevels}`,
Expand Down

0 comments on commit c920634

Please sign in to comment.