Fix indentation
This commit is contained in:
parent
c60e4016e7
commit
0ca10a445a
|
@ -281,7 +281,7 @@ rec {
|
|||
inherit isDefined files;
|
||||
};
|
||||
|
||||
# Merge definitions of a value of a given type
|
||||
# Merge definitions of a value of a given type.
|
||||
mergeDefinitions = loc: type: defs: rec {
|
||||
defsFinal =
|
||||
let
|
||||
|
@ -309,6 +309,7 @@ rec {
|
|||
(type.merge loc defsFinal) defsFinal;
|
||||
|
||||
isDefined = defsFinal != [];
|
||||
|
||||
optionalValue =
|
||||
if isDefined then { value = mergedValue; }
|
||||
else {};
|
||||
|
|
Loading…
Reference in New Issue