Skip to content

Commit bd34982

Browse files
committed
Fix: Ensure config parameter is always passed to sync()
The sync() function requires config as a parameter even when None. Update the kwargs filtering to always include config in the allowed parameters list.
1 parent ceef050 commit bd34982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vcspull/cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def cli(_args: list[str] | None = None) -> None:
152152
sync_kwargs = {
153153
k: v
154154
for k, v in sync_kwargs.items()
155-
if v is not None or k in {"parser", "exit_on_error"}
155+
if v is not None or k in {"parser", "exit_on_error", "config"}
156156
}
157157
sync(**sync_kwargs)
158158
elif args.subparser_name == "add":

0 commit comments

Comments
 (0)