lib/bolt/config.rb
# Check if there is a case-insensitive match to the path
Check if there is a case-insensitive match to the path
Check if there is a case - insensitive match to the path
def check_path_case(type, paths)
      return if paths.nil?
      matches = matching_paths(paths)
      if matches.any?
        msg = "WARNING: Bolt is case sensitive when specifying a #{type}. Did you mean:\n"
        matches.each { |path| msg += "         #{path}\n" }
        Bolt::Logger.warn("path_case", msg)
      end
    end
def check_path_case ( type , paths ) return if paths . nil? matches = matching_paths ( paths ) if matches . any? msg = "WARNING: Bolt is case sensitive when specifying a #{type}. Did you mean:\n" matches . each { | path | msg += "         #{path}\n" } Bolt :: Logger . warn ( "path_case" , msg ) end end
Check if there is a case-insensitive match to the path
Check if there is a case - insensitive match to the path
type
<not_specific>
paths
<not_specific>