mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-07-14 22:40:33 +03:00
Remove stray console.log
from whitespace
package
This commit is contained in:
parent
4b7cb1b695
commit
1f52bd5b72
@ -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()
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user