Skip to content

Commit

Permalink
fix(lint): semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
dalssoft committed May 5, 2023
1 parent a1c7f4c commit 4384453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/convention.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = class Convention {
return string
.replace(/^[A-Z]/, (match) => match.toLowerCase()) // Lowercase the first letter
.replace(/([a-z])([A-Z]+)/g, (match, p1, p2) => p1 + '_' + p2) // Add underscore between lowercase and uppercase letters
.toLowerCase(); // Convert the entire string to lowercase
.toLowerCase() // Convert the entire string to lowercase
}

toTableFieldName(entityField) {
Expand Down

0 comments on commit 4384453

Please sign in to comment.