mirror of
https://github.com/rastapasta/mapscii.git
synced 2024-11-25 01:23:58 +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;
|
||||
} catch (error) {
|
||||
return error.code === 'EEXIST';
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user