Skip to content
Snippets Groups Projects
Commit 39f662e3 authored by Anusha Ranganathan's avatar Anusha Ranganathan
Browse files

require find

parent 93a48585
No related tags found
1 merge request!359Gather hidden files and fix rake task
Pipeline #19045 passed
require 'json'
require 'csv'
require 'find'
class VerifyCRCDatasetImport
extend ComplexHelper
......@@ -126,7 +127,7 @@ class VerifyCRCDatasetImport
# -- Get list of files from import directory including hidden files
input_list = []
Find.find(import_path) do |fp|
::Find.find(import_path) do |fp|
unless FileTest.directory?(fp)
unless self.restricted_file_names?(fp.split('/')[-1])
input_list << fp.sub(import_path, '')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment