lib/tasks/crawler_fin_calendar.rake
# Returns the selected/specified base output path for the crawled results output.
#
Returns the selected/specified base output path for the crawled results output.
Returns the selected / specified base output path for the crawled results output .
def create_base_output_path_if_missing()
    output_path = ENV.include?("output_path") ? ENV["output_path"] : LOCALCOPY_DIR
    puts "output_path:  #{output_path}"
    FileUtils.mkdir_p( output_path ) if !File.directory?( output_path )
    output_path
  end
def create_base_output_path_if_missing ( ) output_path = ENV . include? ( "output_path" ) ? ENV [ "output_path" ] : LOCALCOPY_DIR puts "output_path:  #{output_path}" FileUtils . mkdir_p ( output_path ) if ! File . directory? ( output_path ) output_path end
Returns the selected/specified base output path for the crawled results output.
Returns the selected / specified base output path for the crawled results output .
# Create the base output path, if missing: