Skip to content

Commit

Permalink
small cleanup after 7092 (#7096)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerd authored Nov 16, 2023
1 parent 3fb4d81 commit 8e318dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SourceControl/GitRepository.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1088,11 +1088,11 @@ private class GitFileSystemView: FileSystem {
switch entry.type {
case .symlink:
let path = try repository.readLink(hash: hash)
return try readFileContents(TSCAbsolutePath(validating: path))
return try readFileContents(AbsolutePath(validating: path))
case .blob:
return try self.repository.readBlob(hash: hash)
default:
fatalError()
throw InternalError("unsupported git entry type \(entry.type) at path \(path)")
}
}

Expand Down

0 comments on commit 8e318dc

Please sign in to comment.