Skip to content

Commit fe2d85a

Browse files
added control for parameter equals to 0 or lower to 0
1 parent df53ad3 commit fe2d85a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/francescodisalesdev/gitcli/service/GitService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public List<String> getResult(String param,int page) throws IOException, ParseEx
2424

2525
String URL;
2626

27-
if(page <0)
27+
if(page <0 || page == 0)
2828
return null;
2929

3030
if(page == 1)

0 commit comments

Comments
 (0)