brave-apps: better error
parent
9dbd5b0471
commit
f62d41ba62
|
@ -71,7 +71,7 @@ in
|
|||
mapAttrsToList
|
||||
(n: v:
|
||||
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 (
|
||||
if v.url != null then v.url
|
||||
else if v.urlEval != null then evalString v.urlEval
|
||||
|
|
Loading…
Reference in New Issue