mirror of
https://github.com/strapi/strapi.git
synced 2025-08-15 04:08:04 +00:00
Use self if no arrow function
This commit is contained in:
parent
6288c1864b
commit
79eb9c9e2b
@ -24,7 +24,7 @@ module.exports = function start(configOverride, cb) {
|
|||||||
// Callback is optional.
|
// Callback is optional.
|
||||||
cb = cb || function (err) {
|
cb = cb || function (err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
return this.log.error(err);
|
return self.log.error(err);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user