walkForTsConfig() needs error handling
stentibbing opened this issue · comments
The walkForTsConfig function keeps running recursively trying to find config file by entering parent directory on each recursion. If the parent directory is not readable (due to hosting service in my case), fatal Error: EACCES: permission denied, scandir is thrown. Incase directory is not readable, it should treat it as config not found instead of dying.