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 @@ -985,10 +985,10 @@ def parse_and_generate_output_swift(input_fp):
985
985
repository = g .get_repo (github_repo )
986
986
except Exception :
987
987
logger .error ("It cannot find the license name. Please use '-t' option with github token." )
988
- logger .error ("refer:https://docs.github.com/en/github/authenticating-to-github/" \
989
- + "keeping-your-account-and-data-secure/creating-a-personal-access-token" )
988
+ logger .error ("{0}{1}" . format ( " refer:https://docs.github.com/en/github/authenticating-to-github/",
989
+ "keeping-your-account-and-data-secure/creating-a-personal-access-token" ) )
990
990
repository = ''
991
-
991
+
992
992
if repository is not None :
993
993
try :
994
994
license_name = repository .get_license ().license .spdx_id
You can’t perform that action at this time.
0 commit comments