Skip to content

Commit 272141f

Browse files
authored
Merge pull request #75 from mjyc/fix-empty-endpoint
Fix empty endpoint bug
2 parents dff9590 + ece4f8b commit 272141f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git-issue/import-export.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ import_comments()
564564
trans_abort
565565
fi
566566

567-
while true ; do
567+
while [ ! -z "$endpoint" ] ; do
568568
rest_api_get "$endpoint" comments "$provider"
569569

570570
# For each comment in the comments-body file

0 commit comments

Comments
 (0)