docs(nix/tag): correct comment for assertIsTag

Change-Id: Id54cc3a1d7c83c6a94b9446c76b00ca2ce1ab48e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3540
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
sterni 2021-09-14 12:54:49 +02:00
parent 8e156e6b86
commit 1883159f92

View file

@ -24,7 +24,7 @@ let
val = null;
};
# like `isTag`, but throws the error message if it is not a tag.
# like `verifyTag`, but throws the error message if it is not a tag.
assertIsTag = tag:
let res = verifyTag tag; in
assert lib.assertMsg res.isTag res.errmsg;