Skip to content

Commit 0f21853

Browse files
committed
Corrected cli.msgs.warn_NO_PROJECT_ROOT_FOUND refs
1 parent 9495a93 commit 0f21853

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • remove-json-keys/src/remove_json_keys/lib
  • translate-messages/src/translate_messages/lib

remove-json-keys/src/remove_json_keys/lib/init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def config_file(cli: sn) -> None: # for --init
1818
if project_root:
1919
config_dir, in_project_root = Path(project_root), True
2020
else:
21-
log.warn(cli.msgs.NO_PROJECT_ROOT_FOUND)
21+
log.warn(cli.msgs.warn_NO_PROJECT_ROOT_FOUND)
2222
user_resp = input(f'{cli.msgs.prompt_INIT_CONFIG_HERE_ANYWAY}? (y/N): ').strip().lower()
2323
if not user_resp.startswith('y') : return
2424
config_dir, in_project_root = Path.cwd(), False

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def config_file(cli: sn) -> None: # for --init
1919
if project_root:
2020
config_dir, in_project_root = Path(project_root), True
2121
else:
22-
log.warn(cli.msgs.NO_PROJECT_ROOT_FOUND)
22+
log.warn(cli.msgs.warn_NO_PROJECT_ROOT_FOUND)
2323
user_resp = input(f'{cli.msgs.prompt_INIT_CONFIG_HERE_ANYWAY}? (y/N): ').strip().lower()
2424
if not user_resp.startswith('y') : return
2525
config_dir, in_project_root = Path.cwd(), False

0 commit comments

Comments
 (0)