Skip to content

Commit

Permalink
empty folder refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-milles committed Mar 23, 2022
1 parent 9b1fa38 commit 28349b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ private TFSFolder getRoot() {
}
}

return (TFSFolder) resultItems.get(0);
return resultItems.isEmpty() ? null : (TFSFolder) resultItems.get(0);
}

private void addInto(final TFSFolder folder, final TFSItem child) {
Expand Down

0 comments on commit 28349b5

Please sign in to comment.