From 1883159f921d6c25ae894c231cd8bee6b4370720 Mon Sep 17 00:00:00 2001 From: sterni Date: Tue, 14 Sep 2021 12:54:49 +0200 Subject: 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 --- nix/tag/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nix/tag') diff --git a/nix/tag/default.nix b/nix/tag/default.nix index 766a456749..4fe5898258 100644 --- a/nix/tag/default.nix +++ b/nix/tag/default.nix @@ -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; -- cgit 1.4.1