From 1f52bd5b7219408301c81235f8f1aa28dc4e2a0f Mon Sep 17 00:00:00 2001 From: Andrew Dupont Date: Mon, 3 Apr 2023 20:38:07 -0700 Subject: [PATCH] Remove stray `console.log` from `whitespace` package --- packages/whitespace/lib/whitespace.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/whitespace/lib/whitespace.js b/packages/whitespace/lib/whitespace.js index e6bdac8a0..e64b3e8d8 100644 --- a/packages/whitespace/lib/whitespace.js +++ b/packages/whitespace/lib/whitespace.js @@ -14,7 +14,6 @@ module.exports = class Whitespace { this.subscriptions.add(atom.commands.add('atom-workspace', { 'whitespace:remove-trailing-whitespace': () => { let editor = atom.workspace.getActiveTextEditor() - if (editor) { this.removeTrailingWhitespace(editor, editor.getGrammar().scopeName) } @@ -35,7 +34,6 @@ module.exports = class Whitespace { if (editor) { this.removeTrailingWhitespace(editor, editor.getGrammar().scopeName) - console.log(editor.getPath()) editor.getPath() ? await editor.save() : atom.workspace.getCenter().getActivePane().saveActiveItemAs() } },