Skip to content

Commit

Permalink
updated verbiage from "install" to "initialize"
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-heist-slalom committed May 10, 2024
1 parent 87e3dd5 commit ffd61b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions secureli/actions/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,14 +258,14 @@ def _prompt_to_install(
self, languages: list[str], always_yes: bool, new_install: bool
) -> bool:
"""
Prompts user to determine if secureli should be installed or not
Prompts user to determine if secureli should be initialized or not
:param languages: List of language names to display
:param always_yes: Assume "Yes" to all prompts
:param new_install: Used to determine if the install is new or
if additional languages are being added
"""

new_install_message = "seCureLI has not yet been installed, install now?"
new_install_message = "seCureLI has not yet been initialized, initialize now?"
add_languages_message = (
f"seCureLI has not been installed for the following language(s): "
f"{format_sentence_list(languages)}, install now?"
Expand Down
2 changes: 1 addition & 1 deletion tests/actions/test_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ def test_that_prompt_to_install_asks_new_install_msg(
action._prompt_to_install(mock_languages, always_yes=False, new_install=True)

mock_echo.confirm.assert_called_once_with(
"seCureLI has not yet been installed, install now?", default_response=True
"seCureLI has not yet been initialized, initialize now?", default_response=True
)


Expand Down

0 comments on commit ffd61b8

Please sign in to comment.