build-support/fetchgitiles: remove assertMsg usage

This commit is contained in:
Eman Resu
2026-05-26 14:11:40 -04:00
parent 0f655fd51a
commit beb3b21775

View File

@@ -14,9 +14,8 @@ lib.makeOverridable (
}@args:
assert (
lib.assertMsg (lib.xor (tag == null) (
rev == null
)) "fetchFromGitiles requires one of either `rev` or `tag` to be provided (not both)."
lib.xor (tag == null) (rev == null)
|| throw "fetchFromGitiles requires one of either `rev` or `tag` to be provided (not both)."
);
let