From 7f90d389ab62b6b42f95ecdc8fcc2c8fb61a141c Mon Sep 17 00:00:00 2001 From: Adam Boulware Date: Thu, 5 Nov 2026 23:40:53 -0500 Subject: [PATCH] docs: fix broken CloudEvents spec link in source comment The cloudevents/spec repository renamed its default branch from master to main and moved spec.md under cloudevents/. Update the code comment in CloudEvent validation that still pointed at the old, now 404, location. Signed-off-by: Adam Boulware --- src/event/cloudevent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event/cloudevent.ts b/src/event/cloudevent.ts index 16c722b8..25de580e 100644 --- a/src/event/cloudevent.ts +++ b/src/event/cloudevent.ts @@ -119,7 +119,7 @@ be descriptive and terse and SHOULD NOT exceed 20 characters in length.`); } // Value should be spec compliant - // https://github.com/cloudevents/spec/blob/master/spec.md#type-system + // https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#type-system if (!isValidType(value) && strict) { throw new ValidationError(`invalid extension value: ${value} Extension values must conform to the CloudEvent type system.