vim/update.py: add dummy nixpkgs_repo to shutdown pyright warnings
This commit is contained in:
parent
48d63e924a
commit
9d9b5b321e
1 changed files with 1 additions and 0 deletions
|
@ -634,6 +634,7 @@ def update_plugins(editor: Editor, args):
|
|||
|
||||
autocommit = not args.no_commit
|
||||
|
||||
nixpkgs_repo = None
|
||||
if autocommit:
|
||||
nixpkgs_repo = git.Repo(editor.root, search_parent_directories=True)
|
||||
commit(nixpkgs_repo, f"{editor.attr_path}: update", [args.outfile])
|
||||
|
|
Loading…
Reference in a new issue