class Dependabot::DependencyFileNotFound

def directory

def directory
  # Directory should always start with a `/`
  return unless file_path
  T.must(T.must(file_path).split("/")[0..-2]).join("/").sub(%r{^/*}, "/")
end