Skip to content
Snippets Groups Projects
Commit 907e2c55 authored by Emanuele Aina's avatar Emanuele Aina
Browse files

check-invariants: Move the loop outside to reduce nesting


Get rid of an indentation level by moving the iteration over the
packages out of the check functions.

This also will make improving error reporting easier since the package
context of each check is now clearly defined when calling it.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent 5feccd00
No related branches found
No related tags found
1 merge request!86check-invariant: Print the current package name on errors
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment