lib/checkoff/task_searches.rb in checkoff-0.39.3 vs lib/checkoff/task_searches.rb in checkoff-0.39.4
- old
+ new
@@ -98,7 +98,7 @@
end
end
# :nocov:
abs_program_name = File.expand_path($PROGRAM_NAME)
-Checkoff::TaskSearches.run if abs_program_name == __FILE__
+Checkoff::TaskSearches.run if abs_program_name == File.expand_path(__FILE__)
# :nocov: