(filePath: string)
| 155 | } |
| 156 | |
| 157 | function expandHome(filePath: string): string { |
| 158 | if (filePath.startsWith('~/') || filePath === '~') { |
| 159 | return path.join(os.homedir(), filePath.slice(1)) |
| 160 | } |
| 161 | return filePath |
| 162 | } |
no outgoing calls
no test coverage detected