File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ plugin_test_command() {
3939 fi
4040
4141 TEST_DIR=$( mktemp -dt asdf.XXXX)
42- git clone " $ASDF_DIR /.git " " $TEST_DIR "
42+ cp -R " $ASDF_DIR /" " $TEST_DIR "
4343
4444 plugin_test () {
4545 export ASDF_DIR=$TEST_DIR
@@ -72,8 +72,8 @@ plugin_test_command() {
7272 fail_test " $plugin_name /bin/list-all does not set GitHub Authorization token"
7373 fi
7474
75- # test for most common token names we have on plugins
76- if [ -z " $OAUTH_TOKEN " ] || [ -z " $GITHUB_API_TOKEN " ] ; then
75+ # test for most common token names we have on plugins. If both are empty show this warning
76+ if [ -z " $OAUTH_TOKEN " ] && [ -z " $GITHUB_API_TOKEN " ] ; then
7777 echo " $plugin_name /bin/list-all is using GitHub API, just be sure you provide an API Authorization token"
7878 echo " via your travis settings. This is the current rate_limit:"
7979 echo
You can’t perform that action at this time.
0 commit comments