N4ssim
Results
1
comments of
N4ssim
It's because of the way fs.existsSync() works. If the passed file doesn't exist, it simply throws an error. All you need to do is wrap the code in a try-catch...