Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #242 from EugZol/sublime-3

Sublime 3 support (backward-compatible with Sublime 2)
commit 4fca35b44648d4f46b1dc447ee7b9a45cc8f4768 2 parents 4f0d32b + 98ea469
@maltize authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 run_ruby_test.py
View
4 run_ruby_test.py
@@ -202,8 +202,10 @@ def run_shell_command(self, command, working_dir):
self.save_test_run(command, working_dir)
if COMMAND_PREFIX:
command = COMMAND_PREFIX + ' ' + command
+ if int(sublime.version().split('.')[0]) <= 2:
+ command = [command]
self.view.window().run_command("exec", {
- "cmd": [command],
+ "cmd": command,
"shell": True,
"working_dir": working_dir,
"file_regex": r"([^ ]*\.rb):?(\d*)",
Please sign in to comment.
Something went wrong with that request. Please try again.