Skip to content

Commit 3edf77d

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent b8bc3a9 commit 3edf77d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/specify_cli/workflows/steps/if_then/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def execute(self, config: dict[str, Any], context: StepContext) -> StepResult:
3737
# ``.get()``. ``validate`` already rejects a non-list branch; fail this
3838
# step loudly on an unvalidated run instead, mirroring the switch/fan-out
3939
# steps. A missing ``else`` defaults to ``[]`` and stays valid.
40-
if branch is None and branch_name == "else":
40+
if branch is None and branch_name == "else":
4141
branch = []
4242
elif not isinstance(branch, list):
4343
return StepResult(

0 commit comments

Comments
 (0)