Skip to content

Commit

Permalink
Docs: Fix JS syntax in working-with-custom-formatters.md code sample
Browse files Browse the repository at this point in the history
Missing parenthesis on ruleUrl causing syntax error in detailed formatter
  • Loading branch information
nostalic committed Nov 11, 2020
1 parent 4255f36 commit 99d8dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/developer-guide/working-with-custom-formatters.md
Expand Up @@ -226,7 +226,7 @@ module.exports = function(results, data) {
"\n" +
msg.type +
" " +
msg.ruleId + (msg.ruleUrl ? " (" + msg.ruleUrl + ")" : ""
msg.ruleId + (msg.ruleUrl ? " (" + msg.ruleUrl + ")" : "") +
"\n " +
msg.filePath +
":" +
Expand Down

0 comments on commit 99d8dac

Please sign in to comment.