Use lib.singleton when convenient

This commit is contained in:
SebastianStork 2025-10-21 21:10:53 +02:00
parent dd3c11d88b
commit 464b6a7850
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
6 changed files with 34 additions and 46 deletions

View file

@ -54,11 +54,9 @@ in
)
|> lib.concatStrings;
in
[
{
assertion = duplicateDomains == { };
message = errorMessage;
}
];
lib.singleton {
assertion = duplicateDomains == { };
message = errorMessage;
};
};
}