From 30603ffd4c5bd5fae49023db7bf7ea9e081de85b Mon Sep 17 00:00:00 2001 From: Justin Mecham Date: Fri, 21 Feb 2020 20:18:42 -0500 Subject: [PATCH] Stopped outputting the raw RuboCop JSON result to the console. --- RuboCop.novaextension/CHANGELOG.md | 4 ++++ Source/Scripts/RuboCopProcess.js | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/RuboCop.novaextension/CHANGELOG.md b/RuboCop.novaextension/CHANGELOG.md index 85accc6..3265b86 100644 --- a/RuboCop.novaextension/CHANGELOG.md +++ b/RuboCop.novaextension/CHANGELOG.md @@ -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. diff --git a/Source/Scripts/RuboCopProcess.js b/Source/Scripts/RuboCopProcess.js index ebb474f..a0fd324 100644 --- a/Source/Scripts/RuboCopProcess.js +++ b/Source/Scripts/RuboCopProcess.js @@ -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));