File tree Expand file tree Collapse file tree
remove-json-keys/src/remove_json_keys/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,12 +37,12 @@ def load(cli, caller_file):
3737 cli .project_root = path .join (path .dirname (caller_file ),
3838 f"../../{ '' if 'src' in path .dirname (caller_file ) else '../../' } " )
3939 possile_config_filenames = [
40- f'.{ cli .short_name } .config.jsonc' , f'{ cli .short_name } .config.json' ,
41- f'.{ cli .short_name } .config.json' , f'{ cli .short_name } .config.json' ,
42- f'.{ cli .short_name } .config.json5' , f'{ cli .short_name } .config.json' ,
4340 f'.{ cli .name } .config.jsonc' , f'{ cli .name } .config.jsonc' ,
4441 f'.{ cli .name } .config.json' , f'{ cli .name } .config.json' ,
4542 f'.{ cli .name } .config.json5' , f'{ cli .name } .config.json5' ,
43+ f'.{ cli .short_name } .config.jsonc' , f'{ cli .short_name } .config.json' ,
44+ f'.{ cli .short_name } .config.json' , f'{ cli .short_name } .config.json' ,
45+ f'.{ cli .short_name } .config.json5' , f'{ cli .short_name } .config.json' ,
4646 ]
4747 for filename in possile_config_filenames :
4848 cli .config_filepath = path .join (cli .project_root , filename )
You can’t perform that action at this time.
0 commit comments