diff --git a/docker/utils.js b/docker/utils.js index c089d348..686bec72 100644 --- a/docker/utils.js +++ b/docker/utils.js @@ -418,7 +418,7 @@ exports.processBrokenLinks = ( const __getBadResults = (allUrls) => allUrls // Allow successful 2xx status code range (200-299) - .filter((url) => url["StatusCode"].startsWith('2') && url["StatusCode"].length === 3) + .filter((url) => url["StatusCode"]?.startsWith('2') && url["StatusCode"]?.length === 3) .map((x) => ({ src: x.Source || "", dst: x.Destination || "",