Skip to content

Commit

Permalink
Fix file_io.get_matching_files() for GcsFileSystem.
Browse files Browse the repository at this point in the history
Change: 134141039
  • Loading branch information
rinugun authored and gunan committed Sep 27, 2016
1 parent 1357acf commit 842c065
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tensorflow/core/platform/env.cc
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ Status Env::GetMatchingPaths(const string& pattern,
Status s = fs->GetChildren(current_dir, &children);
ret.Update(s);
for (const string& child : children) {
if (child.empty()) {
continue;
}
const string child_path = io::JoinPath(current_dir, child);
// If the child is a directory add it to the queue.
if (fs->IsDirectory(child_path).ok()) {
Expand Down

0 comments on commit 842c065

Please sign in to comment.