Skip to content

Commit

Permalink
support kotlin and ruby (#881)
Browse files Browse the repository at this point in the history
  • Loading branch information
NovemberTang authored Mar 27, 2024
1 parent 9ad9389 commit f910d9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/snyk-integrator/src/snyk-integrator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ describe('A generated PR', () => {
'Scala',
'TypeScript',
'Rust', //unsupported by the action
'Kotlin', //unsupported by the action
'Go',
])[0];

Expand All @@ -59,7 +58,7 @@ describe('A generated PR', () => {
);
});
it('should throw if no supported languages are provided', () => {
expect(() => generateServiceCataloguePr(['Rust', 'Kotlin'])).toThrow();
expect(() => generateServiceCataloguePr(['Rust'])).toThrow();
expect(() => generateServiceCataloguePr([])).toThrow();
});
});
2 changes: 2 additions & 0 deletions packages/snyk-integrator/src/snyk-integrator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ export function generatePr(
'TypeScript',
'JavaScript',
'Python',
'Kotlin',
'Ruby',
'Go',
];

Expand Down

0 comments on commit f910d9a

Please sign in to comment.