Skip to content

Conversation

@olehermanse
Copy link
Member

  • commands.py: Added some more return type hints
  • commands.py: Fixed return value of build_command

Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>
This one would implicitly return None which does not match expectations
nor the type hint.

Now it returns whatever the actual build function returned.
(Currently that function can only return 0, or exit / raise exceptions,
but that might change).

Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>
@olehermanse olehermanse requested a review from larsewi June 18, 2025 14:46
@olehermanse olehermanse merged commit f1c8410 into cfengine:master Jun 20, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants