Closed joelle-o-world closed 5 years ago
Use fs.existsSync() to check if the directory exists first.
fs.existsSync()
Use
fs.existsSync()
to check if the directory exists first.