diff options
author | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2023-02-14 18:45:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-14 18:45:16 +0100 |
commit | fe514bf960ca1243b71657af662e7df29f5b57cf (patch) | |
tree | a93fc10cb37a10bfaf9ad0cd4b5f961c1316aad8 /lib/internal/async_hooks.js | |
parent | 3acdeb1f7ace66cf3e18f932257fbeb1cf575478 (diff) | |
download | node-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.js | 2 |
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, ); } } |