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:
parent
8e156e6b86
commit
1883159f92
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue