mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-06 07:39:02 +02:00
Merge pull request #3495 from overleaf/ae-prettier-2
Upgrade Prettier to v2 GitOrigin-RevId: 85aa3fa1acb6332c4f58c46165a43d1a51471f33
This commit is contained in:
@@ -122,7 +122,7 @@ function fireHook(name, ...rest) {
|
||||
const callback = rest[adjustedLength - 1]
|
||||
const methods = _hooks[name] || []
|
||||
const callMethods = methods.map(method => cb => method(...args, cb))
|
||||
async.series(callMethods, function(error, results) {
|
||||
async.series(callMethods, function (error, results) {
|
||||
if (error) {
|
||||
return callback(error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user