Fix mistake where _createFolder wouldn't throw an error

pull/57/head
Christian Paul 2019-03-24 17:59:46 -07:00
rodzic ca789ba9dd
commit 66a605254c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -168,7 +168,7 @@ class TileSource {
fs.mkdirSync(path);
return true;
} catch (error) {
return error.code === 'EEXIST';
if (error.code === 'EEXIST') return true;
throw error;
}
}