(folderPath: string, removeBasePath: boolean)
| 226 | } |
| 227 | |
| 228 | readFolderIfExists(folderPath: string, removeBasePath: boolean): Array<string> { |
| 229 | if(!this.folderExists(folderPath)) return [] |
| 230 | |
| 231 | return this.readFolder(folderPath, removeBasePath) |
| 232 | } |
| 233 | |
| 234 | readFolder(folderPath: string, removeBasePath: boolean): Array<string> { |
| 235 | const removeFromPathString = removeBasePath ? folderPath : '' |
nothing calls this directly
no test coverage detected