Skip to content

Commit

Permalink
Merge pull request #113 from reviewdog/stylelint-ruleMetadata-safe-nav
Browse files Browse the repository at this point in the history
Stylelint Formatter: ruleMetadata Safe Navigation
  • Loading branch information
haya14busa authored Feb 5, 2024
2 parents 2b4d11b + 095aa28 commit 4a97984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stylelint-formatter-rdjson/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = function (results, returnValue) {
severity: warning.severity.toUpperCase(),
code: {
value: warning.rule,
url: returnValue.ruleMetadata[warning.rule]?.url
url: returnValue.ruleMetadata?.[warning.rule]?.url
}
};

Expand Down

0 comments on commit 4a97984

Please sign in to comment.