better colors and hints in version

This commit is contained in:
Nick Sweeting
2020-08-18 18:38:14 -04:00
parent 31a6318582
commit 4566904db2
2 changed files with 5 additions and 5 deletions

View File

@@ -841,8 +841,8 @@ def check_dependencies(config: ConfigDict=CONFIG, show_help: bool=True) -> None:
)
)
if dependency in ('SINGLEFILE_BINARY', 'READABILITY_BINARY'):
hint(('npm install --prefix . "git+https://github.com/piratee/ArchiveBox.git"',
f'or set SAVE_{dependency.rsplit("_", 1)[0]}=False to silence this warning',
hint(('npm install --prefix . "git+https://github.com/pirate/ArchiveBox.git"',
f'or archivebox config --set SAVE_{dependency.rsplit("_", 1)[0]}=False to silence this warning',
''), prefix=' ')
stderr('')