(str: string = "")
| 135 | }; |
| 136 | |
| 137 | export const addUnderscoreToFirstPart = (str: string = ""): string => { |
| 138 | const parts = str.split("."); |
| 139 | if (parts.length > 2) { |
| 140 | parts[0] = parts[0] + "_"; |
| 141 | } |
| 142 | return parts.join("."); |
| 143 | }; |
no outgoing calls
no test coverage detected