We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63c6e0e commit 2b2921fCopy full SHA for 2b2921f
src/utils/messageGeneration/MessageLoader.js
@@ -23,7 +23,7 @@ function createDirectory(directory) {
23
function createLocal(dirPath) {
24
return new Promise((resolve, reject) => {
25
fs.mkdir(dirPath, (err) => {
26
- if (err && err.code !== 'EEXIST') {
+ if (err && err.code !== 'EEXIST' && err.code !== 'EISDIR') {
27
reject(err);
28
}
29
resolve();
0 commit comments