Skip to content

ENT-13490: Fixed an assertion failure when attempting to update a non-existent module#288

Merged
olehermanse merged 2 commits into
cfengine:masterfrom
jakub-nt:ENT-13490
Nov 6, 2025
Merged

ENT-13490: Fixed an assertion failure when attempting to update a non-existent module#288
olehermanse merged 2 commits into
cfengine:masterfrom
jakub-nt:ENT-13490

Conversation

@jakub-nt

@jakub-nt jakub-nt commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

No description provided.

It seems Pyright does not understand `old_module` cannot be `None` when `custom_index` is `True`.

The assertion seems incorrect.

Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
@olehermanse olehermanse merged commit 22340e4 into cfengine:master Nov 6, 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