build-support/fetchradicle: remove assertMsg usage

This commit is contained in:
Eman Resu
2026-05-26 14:14:54 -04:00
parent 3b9fc791a3
commit 46c15a75c8
+3 -3
View File
@@ -10,9 +10,9 @@ lib.makeOverridable (
...
}@args:
assert lib.assertMsg (lib.xor (tag != null) (
rev != null
)) "fetchFromRadicle requires one of either `rev` or `tag` to be provided (not both).";
assert
lib.xor (tag != null) (rev != null)
|| throw "fetchFromRadicle requires one of either `rev` or `tag` to be provided (not both).";
let
namespacePrefix = lib.optionalString (node != null) "refs/namespaces/${node}/";