Skip to content

Commit

Permalink
change existing install messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-orlando committed Dec 19, 2023
1 parent c17278e commit 2ea6d6b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions secureli/actions/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,14 @@ def _install_secureli(
install_languages, always_yes, new_install
)
if not should_install:
self.action_deps.echo.error("User canceled install process")
return (
VerifyResult(
if new_install:
self.action_deps.echo.error("User canceled install process")
return VerifyResult(
outcome=VerifyOutcome.INSTALL_CANCELED,
)
if new_install
else VerifyResult(outcome=VerifyOutcome.UP_TO_DATE)
)

self.action_deps.echo.warning("Newly detected languages were not installed")
return VerifyResult(outcome=VerifyOutcome.UP_TO_DATE)

lint_languages = self._prompt_get_lint_config_languages(
install_languages, always_yes
Expand Down

0 comments on commit 2ea6d6b

Please sign in to comment.