build-support/fetchgithub: remove assertMsg usage

This commit is contained in:
Eman Resu
2026-05-26 14:14:41 -04:00
parent 661fe16b08
commit 0f655fd51a
+2 -3
View File
@@ -59,9 +59,8 @@ decorate (
}@args:
assert (
lib.assertMsg (lib.xor (tag == null) (
rev == null
)) "fetchFromGitHub requires one of either `rev` or `tag` to be provided (not both)."
lib.xor (tag == null) (rev == null)
|| throw "fetchFromGitHub requires one of either `rev` or `tag` to be provided (not both)."
);
let