Skip to content

Commit

Permalink
chore: fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmoz committed Jun 10, 2024
1 parent 9e6a20c commit d0cff6d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/modules/versioning/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/versioning/glasskube/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { GlasskubeVersioningApi } from '.';

describe('modules/versioning/glasskube/index', () => {
const versioning = new GlasskubeVersioningApi();

it.each`
version | expected
${'v1.2.3'} | ${true}
Expand Down Expand Up @@ -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);
},
);

Expand Down
4 changes: 3 additions & 1 deletion lib/modules/versioning/glasskube/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ export class GlasskubeVersioningApi extends GenericVersioningApi {
if (build) {
try {
result.release.push(parseInt(build));
} catch (error) {}
} catch (error) {
/* noop */
}
}
return result;
}
Expand Down

0 comments on commit d0cff6d

Please sign in to comment.