mirror of
https://github.com/rastapasta/mapscii.git
synced 2024-11-25 09:33:48 +01:00
Throw an error if creating a Folder fails.
This commit is contained in:
parent
b320618a7e
commit
ca789ba9dd
@ -169,6 +169,7 @@ class TileSource {
|
|||||||
return true;
|
return true;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return error.code === 'EEXIST';
|
return error.code === 'EEXIST';
|
||||||
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user