(filePath: string)
| 218 | } |
| 219 | |
| 220 | readFileAsJson(filePath: string): any { |
| 221 | let fileContent = this.readFile(filePath) |
| 222 | |
| 223 | if(!fileContent) return null |
| 224 | |
| 225 | return JSON.parse(fileContent) |
| 226 | } |
| 227 | |
| 228 | readFolderIfExists(folderPath: string, removeBasePath: boolean): Array<string> { |
| 229 | if(!this.folderExists(folderPath)) return [] |
no test coverage detected