(filePath: string)
| 204 | } |
| 205 | |
| 206 | readFileIfExists(filePath: string): string { |
| 207 | if(!this.fileExists(filePath)) return null |
| 208 | return this.readFile(filePath) |
| 209 | } |
| 210 | |
| 211 | readFile(filePath: string): string { |
| 212 | return fs.readFileSync(filePath, 'utf8') |
no test coverage detected