Skip to content

Commit 869e257

Browse files
authored
Merge pull request #52 from martinbohman/master
Change deprecated executable_path call
2 parents d3c5c80 + bdc992e commit 869e257

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

linter.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class Rubocop(RubyLinter):
2929
'ruby'
3030
)
3131
cmd = None
32-
executable = 'ruby'
3332
version_args = '-S rubocop --version'
3433
version_re = r'(?P<version>\d+\.\d+\.\d+)'
3534
version_requirement = '>= 0.34.0'
@@ -45,8 +44,6 @@ def cmd(self):
4544
settings = self.get_view_settings()
4645

4746
command = ['ruby', '-S']
48-
if self.executable_path:
49-
command = self.executable_path + ['-S']
5047

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

0 commit comments

Comments
 (0)