class Dependabot::DependencyFileNotParseable

def directory

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