Skip to content

Commit

Permalink
Remove unnecessary if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Nov 20, 2024
1 parent be6189a commit 3612be5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rules/no-invalid-at-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ function extractMetaDataFromError(error) {
messageId = message.includes("should not")
? "invalidExtraPrelude"
: "missingPrelude";
} else if (message.includes("descriptor")) {
messageId = "invalidDescriptor";
}

return {
Expand Down

0 comments on commit 3612be5

Please sign in to comment.