Skip to content

Commit

Permalink
Fix warning messages in plugins pacman
Browse files Browse the repository at this point in the history
  • Loading branch information
Setsugennoao committed Nov 15, 2023
1 parent abd279b commit dd89146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vspreview/plugins/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def install_plugins(plugins: list[str], force: bool = False, no_deps: bool = Fal

not_found_plugins = set(plugins) - found_plugins
if not_found_plugins:
logging.warn(f'Not found the following plugins: "{", ".join(not_found_plugins)}"')
logging.warn(f'Could not find the following plugins: "{", ".join(not_found_plugins)}"')

with Session() as s:
for plugin in found_plugins:
Expand Down Expand Up @@ -115,6 +115,6 @@ def uninstall_plugins(plugins: list[str], ignore: bool = False) -> None:
found_plugins = set(plugins) - not_found_plugins

if not_found_plugins:
logging.warn(f'Not found the following plugins: "{", ".join(not_found_plugins)}"')
logging.warn(f'Could not find plugins: "{", ".join(not_found_plugins)}"')

logging.info(f'Successfully uninstalled "{", ".join(found_plugins)}"')

0 comments on commit dd89146

Please sign in to comment.