lib/win32/taskscheduler.rb in win32-taskscheduler-1.0.9 vs lib/win32/taskscheduler.rb in win32-taskscheduler-1.0.10
- old
+ new
@@ -197,12 +197,10 @@
#
def exists?(full_task_path)
path = nil
task_name = nil
- # Used the splat operator to put all folder elements into path and leave only the task name`
if full_task_path.include?("\\")
- full_task_path = root_path + full_task_path
*path, task_name = full_task_path.split('\\')
else
task_name = full_task_path
end