mirror of
https://github.com/strapi/strapi.git
synced 2025-10-07 14:26:26 +00:00
Disable warn log
This commit is contained in:
parent
872e0c9fe7
commit
b1a47ff075
@ -156,7 +156,11 @@ module.exports = strapi => {
|
|||||||
fs.mkdirSync(fileDirectory);
|
fs.mkdirSync(fileDirectory);
|
||||||
}
|
}
|
||||||
|
|
||||||
options.log = undefined;
|
// Disable warn log
|
||||||
|
// .returning() is not supported by sqlite3 and will not have any effect.
|
||||||
|
options.log = {
|
||||||
|
warn: () => {}
|
||||||
|
};
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user