Skip to content

Commit

Permalink
Stopped outputting the raw RuboCop JSON result to the console.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmecham committed Feb 22, 2020
1 parent e699c66 commit 30603ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions RuboCop.novaextension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ChangeLog

## UNRELEASED

- Stopped outputting the raw RuboCop JSON result to the console.

## Version 0.2.0

- Added an informative notice to the user when RuboCop could not be found.
Expand Down
3 changes: 2 additions & 1 deletion Source/Scripts/RuboCopProcess.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ class RuboCopProcess {
const parsedOutput = JSON.parse(output);
const offenses = parsedOutput["files"][0]["offenses"];

console.info(JSON.stringify(offenses, null, " "));
// TODO: Enable a "Debug" Preference
// console.info(JSON.stringify(offenses, null, " "));

this.offenses = offenses.map(offense => new Offense(offense));

Expand Down

0 comments on commit 30603ff

Please sign in to comment.