Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion codecov_cli/fallbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get_default(
res = super().get_default(ctx, call=call)
if res is not None:
return res
if self.fallback_fields is not None:
if self.fallback_fields is not None and ctx.obj is not None:
for field in self.fallback_fields:
if ctx.obj.get("ci_adapter") is not None:
res = ctx.obj.get("ci_adapter").get_fallback_value(field)
Expand Down
Loading