Skip to content

Commit 42a5a5d

Browse files
committed
docs: Move travis CI specific documentation
Move travis_ci specific documentation to travis_repo_slug `if` block
1 parent dd7eee5 commit 42a5a5d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/appimagetool.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -875,11 +875,10 @@ main (int argc, char *argv[])
875875
printf("%s\n", updateinformation);
876876
}
877877
}
878-
879-
/* If the user has not provided update information but we know this is a Travis CI build,
880-
* then fill in update information based on TRAVIS_REPO_SLUG */
881878
if(guess_update_information){
882879
if(travis_repo_slug){
880+
/* If the user has not provided update information but we know this is a Travis CI build,
881+
* then fill in update information based on TRAVIS_REPO_SLUG */
883882
if(!github_token) {
884883
printf("Will not guess update information since $GITHUB_TOKEN is missing,\n");
885884
if(0 != strcmp(travis_pull_request, "false")){

0 commit comments

Comments
 (0)