File tree Expand file tree Collapse file tree
remove-json-keys/src/remove_json_keys/lib
translate-messages/src/translate_messages/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ def config_file(cli):
2323 return
2424 cli .config_filename = f'.{ cli .name } .config.jsonc'
2525 cli .config_filepath = os .path .join (cli .project_root , cli .config_filename )
26- if not cli . default_file_config :
26+ if not getattr ( cli , ' default_file_config' , None ) :
2727 try :
2828 jsd_url = f'{ cli .urls .jsdelivr } /{ cli .name } /{ cli .config_filename } '
2929 resp = requests .get (jsd_url , timeout = 5 )
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def config_file(cli):
1717 return
1818 cli .config_filename = f'.{ cli .short_name } .config.jsonc'
1919 cli .config_filepath = os .path .join (cli .project_root , cli .config_filename )
20- if not cli . default_file_config :
20+ if not getattr ( cli , ' default_file_config' , None ) :
2121 try :
2222 jsd_url = f'{ cli .urls .jsdelivr } /{ cli .name } /{ cli .config_filename } '
2323 resp = requests .get (jsd_url , timeout = 5 )
You can’t perform that action at this time.
0 commit comments