brave-apps: better error
This commit is contained in:
parent
9dbd5b0471
commit
f62d41ba62
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ in
|
||||||
mapAttrsToList
|
mapAttrsToList
|
||||||
(n: v:
|
(n: v:
|
||||||
assert lib.assertMsg (length (filter (v: v != null) (attrValues v)) == 1)
|
assert lib.assertMsg (length (filter (v: v != null) (attrValues v)) == 1)
|
||||||
"only one of `url` `urlEval` or `urlFile` may be set: ${toString n} = ${toString (attrNames v)}";
|
"only one of `url` `urlEval` or `urlFile` may be set: ${toString n} has multiple urls set";
|
||||||
(writeChromiumDesktopApp n (
|
(writeChromiumDesktopApp n (
|
||||||
if v.url != null then v.url
|
if v.url != null then v.url
|
||||||
else if v.urlEval != null then evalString v.urlEval
|
else if v.urlEval != null then evalString v.urlEval
|
||||||
|
|
Loading…
Reference in a new issue