Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #7 from butosh/master

Tooltip message configuration
  • Loading branch information...
commit 74683ecbb353bd39bb942a6f9c82026f82696cd6 2 parents 9be85aa + 1ce569f
@drnic authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 Commands/Validate and Save.tmCommand
View
7 Commands/Validate and Save.tmCommand
@@ -15,8 +15,11 @@ if compiler_ruby.length == 0
end
result = `#{compiler_ruby} -wc "$TM_FILEPATH" 2>&1`
-print result
-TextMate.go_to :line => $1 if result =~ /:(\d+):/
+if result =~ /:(\d+):/
+ print result
+ TextMate.go_to :line => $1
+end
+
</string>
<key>input</key>
<string>document</string>
Please sign in to comment.
Something went wrong with that request. Please try again.