Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan King committed Oct 23, 2023
1 parent fdcaec0 commit 81fda0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hail/src/main/scala/is/hail/io/fs/GoogleStorageFS.scala
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ class GoogleStorageFS(
if (url.path == "")
return GoogleStorageFileListEntry.dir(url)

val blob = getBlob(urL)
val blob = getBlob(url)

if (blob == null) {
throw new FileNotFoundException(url.toString)
Expand Down Expand Up @@ -496,7 +496,7 @@ class GoogleStorageFS(
val exactFileMatch = getBlob(url)
if (exactFileMatch != null) {
val exactFileMatchFLE = GoogleStorageFileListEntry(exactFileMatch)
FS.fileListEntryFromIterator(url, it ++ FastSeq(exactFileMatch).iterator)
FS.fileListEntryFromIterator(url, it ++ FastSeq(exactFileMatchFLE).iterator)
} else {
FS.fileListEntryFromIterator(url, it)
}
Expand Down

0 comments on commit 81fda0a

Please sign in to comment.