(envString: string)
| 106 | * Strips out newlines from env file string |
| 107 | */ |
| 108 | export function stripEmptyLines(envString: string): string { |
| 109 | const emptyLinesRegex = /(^\n)/gim |
| 110 | return envString.replace(emptyLinesRegex, '') |
| 111 | } |
| 112 | |
| 113 | /** |
| 114 | * If we load data from a file like .js, the user |
no outgoing calls
no test coverage detected