summaryrefslogtreecommitdiff
path: root/lib/internal/async_hooks.js
diff options
context:
space:
mode:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2023-02-14 18:45:16 +0100
committerGitHub <noreply@github.com>2023-02-14 18:45:16 +0100
commitfe514bf960ca1243b71657af662e7df29f5b57cf (patch)
treea93fc10cb37a10bfaf9ad0cd4b5f961c1316aad8 /lib/internal/async_hooks.js
parent3acdeb1f7ace66cf3e18f932257fbeb1cf575478 (diff)
downloadnode-new-fe514bf960ca1243b71657af662e7df29f5b57cf.tar.gz
lib: enforce use of trailing commas for functions
PR-URL: https://github.com/nodejs/node/pull/46629 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Diffstat (limited to 'lib/internal/async_hooks.js')
-rw-r--r--lib/internal/async_hooks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/async_hooks.js b/lib/internal/async_hooks.js
index f049255eba..a3b6d0e643 100644
--- a/lib/internal/async_hooks.js
+++ b/lib/internal/async_hooks.js
@@ -201,7 +201,7 @@ function emitInitNative(asyncId, type, triggerAsyncId, resource) {
if (typeof active_hooks.array[i][init_symbol] === 'function') {
active_hooks.array[i][init_symbol](
asyncId, type, triggerAsyncId,
- resource
+ resource,
);
}
}