diff --git a/lib/modules/versioning/api.ts b/lib/modules/versioning/api.ts index abec7e24a03ca4..2fb4afb5d9479d 100644 --- a/lib/modules/versioning/api.ts +++ b/lib/modules/versioning/api.ts @@ -8,6 +8,7 @@ import * as deb from './deb'; import * as debian from './debian'; import * as docker from './docker'; import * as git from './git'; +import * as glasskube from './glasskube'; import * as goModDirective from './go-mod-directive'; import * as gradle from './gradle'; import * as hashicorp from './hashicorp'; @@ -27,7 +28,6 @@ import * as perl from './perl'; import * as poetry from './poetry'; import * as python from './python'; import * as redhat from './redhat'; -import * as glasskube from './glasskube'; import * as regex from './regex'; import * as rez from './rez'; import * as rpm from './rpm'; diff --git a/lib/modules/versioning/glasskube/index.spec.ts b/lib/modules/versioning/glasskube/index.spec.ts index f64334be62dcae..28fea75c0eea53 100644 --- a/lib/modules/versioning/glasskube/index.spec.ts +++ b/lib/modules/versioning/glasskube/index.spec.ts @@ -2,6 +2,7 @@ import { GlasskubeVersioningApi } from '.'; describe('modules/versioning/glasskube/index', () => { const versioning = new GlasskubeVersioningApi(); + it.each` version | expected ${'v1.2.3'} | ${true} @@ -37,7 +38,6 @@ describe('modules/versioning/glasskube/index', () => { expect(versioning.getMajor(version)).toBe(major); expect(versioning.getMinor(version)).toBe(minor); expect(versioning.getPatch(version)).toBe(patch); - expect(versioning.getNewValue); }, ); diff --git a/lib/modules/versioning/glasskube/index.ts b/lib/modules/versioning/glasskube/index.ts index ed411c471912e9..5365cc2df6a19e 100644 --- a/lib/modules/versioning/glasskube/index.ts +++ b/lib/modules/versioning/glasskube/index.ts @@ -26,7 +26,9 @@ export class GlasskubeVersioningApi extends GenericVersioningApi { if (build) { try { result.release.push(parseInt(build)); - } catch (error) {} + } catch (error) { + /* noop */ + } } return result; }