Skip to content

Commit 621d9fa

Browse files
authored
Use the rubocop bin directly (#65)
Use the rubocop bin directly
2 parents 7a06c4a + 379680b commit 621d9fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

linter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import os
2-
from SublimeLinter.lint import RubyLinter
2+
from SublimeLinter.lint import Linter
33

44

5-
class Rubocop(RubyLinter):
5+
class Rubocop(Linter):
66
defaults = {
77
'selector': 'source.ruby - text.html - text.haml'
88
}
@@ -17,7 +17,7 @@ def cmd(self):
1717

1818
settings = self.get_view_settings()
1919

20-
command = ['ruby', '-S']
20+
command = []
2121

2222
if settings.get('use_bundle_exec', False):
2323
command.extend(['bundle', 'exec'])

0 commit comments

Comments
 (0)