Skip to content

Commit

Permalink
don't attempt to load the next page if there isn't one
Browse files Browse the repository at this point in the history
  • Loading branch information
bjesus committed Sep 12, 2024
1 parent 7e18241 commit ac254c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ func ExecuteBlocks(e *common.PipetApp) error {

e.Data = append(e.Data, data)

if nextPageURL == "" {
break
}
var parts []string
switch cmd := block.Command.(type) {
case string:
Expand Down

0 comments on commit ac254c7

Please sign in to comment.