From d3cd4334a3161e9ba8e09c133ebb62f73dbaab09 Mon Sep 17 00:00:00 2001 From: Wendy Yang Date: Wed, 28 Aug 2024 16:13:24 +0100 Subject: [PATCH] update the comments for @path in wip_list method --- lib/record_loader/application_record_loader.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/record_loader/application_record_loader.rb b/lib/record_loader/application_record_loader.rb index 961a9c07c6..52a2af1ecc 100644 --- a/lib/record_loader/application_record_loader.rb +++ b/lib/record_loader/application_record_loader.rb @@ -17,7 +17,8 @@ def wip_list return [] unless deploy_wip_pipelines wip_files = [] - # @path returns 'config/default_records' directory + # @path is initialised from the directory argument passed to the initialiser method of the super class. + # By default, it returns 'config/default_records' directory # see https://github.com/sanger/record_loader/blob/master/lib/record_loader/base.rb wip_files_path = @path Find.find(wip_files_path) do |path|