Skip to content

Commit 71e5e0b

Browse files
committed
Used cli.short_name in cli.config_filename init
1 parent 8f55ef6 commit 71e5e0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • translate-messages/src/translate_messages/lib

translate-messages/src/translate_messages/lib/init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def config_file(cli):
1414
log.warn(f'Config already exists at {cli.config_filepath}. Skipping --init.')
1515
log.tip('Pass --force to overwrite.')
1616
return
17-
cli.config_filename = '.translate-msgs.config.jsonc'
17+
cli.config_filename = f'.{cli.short_name}.config.jsonc'
1818
cli.config_filepath = os.path.join(cli.project_root, cli.config_filename)
1919
try:
2020
jsd_url = f'{cli.urls.jsdelivr}/{cli.name}/{cli.config_filename}'

0 commit comments

Comments
 (0)