From e18d41551e71c9d393a5aa5e2079372012352359 Mon Sep 17 00:00:00 2001 From: Ivan Ka <5395690+ivankatliarchuk@users.noreply.github.com> Date: Tue, 31 Dec 2024 09:03:34 +0000 Subject: [PATCH] Update lib/modules/versioning/ubuntu/common.ts code review changes Co-authored-by: Rhys Arkins --- lib/modules/versioning/ubuntu/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/versioning/ubuntu/common.ts b/lib/modules/versioning/ubuntu/common.ts index 580ed6aadf9f90..0cd4b958c7f392 100644 --- a/lib/modules/versioning/ubuntu/common.ts +++ b/lib/modules/versioning/ubuntu/common.ts @@ -25,7 +25,7 @@ function getDatedContainerImageVersion(version: string): null | number { function getDatedContainerImageSuffix(version: string): null | string { const groups = regex.exec(version); - if (!groups?.groups) { + if (!groups?.groups?.suffix) { return null; }