mandy 0.3.13 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mandy.rb +3 -1
- metadata +1 -1
data/lib/mandy.rb
CHANGED
@@ -46,7 +46,9 @@ end
|
|
46
46
|
|
47
47
|
at_exit do
|
48
48
|
raise $! if $!
|
49
|
-
caller = Kernel.caller.first
|
49
|
+
caller = Kernel.caller.first
|
50
|
+
next if caller.nil?
|
51
|
+
caller = caller.split(':').first
|
50
52
|
next if caller =~ /bin\/(rake|mandy)/
|
51
53
|
input = Mandy.local_input || ENV['MANDY_INPUT']
|
52
54
|
unless input
|