Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

easier to understand order for the logic

  • Loading branch information...
commit 76eb3cdc4064960a3bf16f31928f0356f0c7e4d1 1 parent fc6ee76
@markburns authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/kaboom/platform.rb
View
6 lib/kaboom/platform.rb
@@ -47,10 +47,10 @@ def open_command
#
# Returns a String of the Item value.
def open(item)
- unless windows?
- system("#{open_command} '#{item.url.gsub("\'","'\\\\''")}'")
- else
+ if windows?
system("#{open_command} #{item.url.gsub("\'","'\\\\''")}")
+ else
+ system("#{open_command} '#{item.url.gsub("\'","'\\\\''")}'")
end
item.value
Please sign in to comment.
Something went wrong with that request. Please try again.