Skip to content

Commit

Permalink
Fixes #173. Remove @ prefix from showError call
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavin001 committed Jan 3, 2015
1 parent 0d20a43 commit c110ca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/beautify.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ beautify = ({onSave}) ->
return
), 0
else
@showError(new Error("Unsupported beautification result '#{text}'."))
showError(new Error("Unsupported beautification result '#{text}'."))
# else
# console.log "Already Beautiful!"
@loadingView.hide()
Expand All @@ -117,7 +117,7 @@ beautify = ({onSave}) ->
editor = atom.workspace.getActiveEditor()
# Check if there is an active editor
if not editor?
return @showError(new Error("Active Editor not found. "
return showError(new Error("Active Editor not found. "
"Please select a Text Editor first to beautify."))

isSelection = !!editor.getSelectedText()
Expand Down

0 comments on commit c110ca7

Please sign in to comment.