def find_script(sub_path)
      paths = @script_dirs.map { |dir| File.join(dir,sub_path) }

      return script_paths.first(:path => paths)
    end
def find_script(sub_path)
      paths = @script_dirs.map { |dir| File.join(dir,sub_path) }

      return script_paths.first(:path => paths)
    end
Finds a cached script.

 @param [String] sub_path
   The sub-path within the repository to search for.

 @return [Script::Path, nil]
   The matching script path.

 @since 1.1.0

 @api private