vimPlugins: only update generated.nix if all plugins were downloaded
https://github.com/NixOS/nixpkgs/pull/46728#discussion_r217915996
This commit is contained in:
parent
d499b7d821
commit
dec78a23d1
@ -193,12 +193,14 @@ def check_results(
|
||||
print(f"{len(results) - len(failures)} plugins were checked", end="")
|
||||
if len(failures) == 0:
|
||||
print()
|
||||
return plugins
|
||||
else:
|
||||
print(f", {len(failures)} plugin(s) could not be downloaded:\n")
|
||||
|
||||
for (plugin, exception) in failures:
|
||||
print_download_error(plugin, exception)
|
||||
return plugins
|
||||
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def load_plugin_spec() -> List[Tuple[str, str]]:
|
||||
|
Loading…
Reference in New Issue
Block a user