build-support/fetchgitlab: remove assertMsg usage

This commit is contained in:
Eman Resu
2026-05-26 14:11:47 -04:00
parent beb3b21775
commit 3b9fc791a3
+2 -3
View File
@@ -27,9 +27,8 @@ lib.makeOverridable (
}@args:
assert (
lib.assertMsg (lib.xor (tag == null) (
rev == null
)) "fetchFromGitLab requires one of either `rev` or `tag` to be provided (not both)."
lib.xor (tag == null) (rev == null)
|| throw "fetchFromGitLab requires one of either `rev` or `tag` to be provided (not both)."
);
let