Permalink
Browse files

Fix a bug in my previous pull request when run_last_ruby_test is exec…

…uted
  • Loading branch information...
gs committed Dec 20, 2012
1 parent c7d37d7 commit 0fb83a20652ff756aecfafcce569b950b14c1504
Showing with 2 additions and 2 deletions.
  1. +2 −2 run_ruby_test.py
View
@@ -137,13 +137,13 @@ def save_test_run(self, command, working_dir):
def run_shell_command(self, command, working_dir):
if not command:
return False
- if COMMAND_PREFIX:
- command = COMMAND_PREFIX + ' ' + command
if BEFORE_CALLBACK:
os.system(BEFORE_CALLBACK)
if AFTER_CALLBACK:
command += " ; " + AFTER_CALLBACK
self.save_test_run(command, working_dir)
+ if COMMAND_PREFIX:
+ command = COMMAND_PREFIX + ' ' + command
self.view.window().run_command("exec", {
"cmd": [command],
"shell": True,

0 comments on commit 0fb83a2

Please sign in to comment.