Skip to content

Commit

Permalink
fix: linter warning in regex
Browse files Browse the repository at this point in the history
  • Loading branch information
mutahhir committed Aug 16, 2023
1 parent 8affd29 commit cb755cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@cdktf/commons/src/gradle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export async function getGradleDependencies() {
const apiLines = apiSectionLines.slice(0, apiSectionEnd);

const prefixRegex = /^\s*[+\\-]+\s*/;
const suffixRegex = /\s+\([nc\*]\)\s*$/;
const suffixRegex = /\s+\([nc*]\)\s*$/;

return [...implementationLines, ...apiLines]
.filter((line) => line !== "No dependencies")
Expand Down

0 comments on commit cb755cd

Please sign in to comment.