mirror of
https://github.com/strapi/strapi.git
synced 2025-10-06 13:52:13 +00:00
Disable warn log
This commit is contained in:
parent
872e0c9fe7
commit
b1a47ff075
@ -156,7 +156,11 @@ module.exports = strapi => {
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user