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 @@ -15,12 +15,10 @@ def config_file(cli):
1515 log .warn (f'Config already exists at { config_path } . Skipping --init.' )
1616 log .tip ('Pass --force to overwrite.' )
1717 return
18-
1918 cli .config_filename = f'.{ cli .short_name } .config.json5'
2019 cli .config_filepath = str (Path (cli .project_root ) / cli .config_filename )
2120 if not getattr (cli , 'default_file_config' , None ):
2221 cli .default_file_config = data .url .get (f'{ cli .urls .jsdelivr } /{ cli .name } /{ cli .config_filename } ' )
23-
2422 data .file .write (cli .config_filepath , cli .default_file_config )
2523 log .success (f'Default config created at { cli .config_filepath } ' )
2624
Original file line number Diff line number Diff line change @@ -15,12 +15,10 @@ def config_file(cli):
1515 log .warn (f'Config already exists at { config_path } . Skipping --init.' )
1616 log .tip ('Pass --force to overwrite.' )
1717 return
18-
1918 cli .config_filename = f'.{ cli .short_name } .config.json5'
2019 cli .config_filepath = str (Path (cli .project_root ) / cli .config_filename )
2120 if not getattr (cli , 'default_file_config' , None ):
2221 cli .default_file_config = data .url .get (f'{ cli .urls .jsdelivr } /{ cli .name } /{ cli .config_filename } ' )
23-
2422 data .file .write (cli .config_filepath , cli .default_file_config )
2523 log .success (f'Default config created at { cli .config_filepath } ' )
2624
You can’t perform that action at this time.
0 commit comments