Skip to content

Commit

Permalink
Fix list placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
iiAhmedYT committed Jun 16, 2024
1 parent a915944 commit a4de948
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String getResult(
}

final int line = Strings.intOrDefault(args[0], 1) - 1;
if (line > list.size()) {
if (line >= list.size()) {
return "";
}

Expand Down

0 comments on commit a4de948

Please sign in to comment.