Fix Gem executable
This commit is contained in:
parent
93dafff424
commit
be3b948034
2
fzf
2
fzf
@ -845,5 +845,5 @@ class FZF
|
||||
end
|
||||
end#FZF
|
||||
|
||||
FZF.new(ARGV, $stdin).start if $0 == __FILE__
|
||||
FZF.new(ARGV, $stdin).start if ENV.fetch('FZF_EXECUTABLE', '1') == '1'
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
require 'minitest/autorun'
|
||||
$LOAD_PATH.unshift File.expand_path('../..', __FILE__)
|
||||
ENV['FZF_EXECUTABLE'] = '0'
|
||||
load 'fzf'
|
||||
|
||||
class TestFZF < MiniTest::Unit::TestCase
|
||||
|
Loading…
x
Reference in New Issue
Block a user