mirror of
https://github.com/10h30/wordpress-export-to-markdown.git
synced 2026-07-16 21:23:46 +09:00
Error handling and logging for image downloads
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ function getConfig() {
|
||||
function checkFileExists(path) {
|
||||
try {
|
||||
return fs.existsSync(path);
|
||||
} catch(ex) {
|
||||
} catch (ex) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user