summaryrefslogtreecommitdiff
path: root/lib/trace_events.js
diff options
context:
space:
mode:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2023-02-12 19:26:21 +0100
committerAntoine du Hamel <duhamelantoine1995@gmail.com>2023-02-28 12:10:24 +0100
commit9dbb1623ffd6e06b5df0c74beaf3f4ee0a17c8e5 (patch)
treeb73d08b62cbe9310ff9b677e639a18b3b5a0afc6 /lib/trace_events.js
parent1101713cc2dd20a141781083aa385c1294df6708 (diff)
downloadnode-new-9dbb1623ffd6e06b5df0c74beaf3f4ee0a17c8e5.tar.gz
lib: add trailing commas to all public core modules
PR-URL: https://github.com/nodejs/node/pull/46848 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Diffstat (limited to 'lib/trace_events.js')
-rw-r--r--lib/trace_events.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/trace_events.js b/lib/trace_events.js
index 277f90ba44..860543e30b 100644
--- a/lib/trace_events.js
+++ b/lib/trace_events.js
@@ -75,7 +75,7 @@ class Tracing {
const obj = {
enabled: this.enabled,
- categories: this.categories
+ categories: this.categories,
};
return `Tracing ${format(obj)}`;
}
@@ -93,5 +93,5 @@ function createTracing(options) {
module.exports = {
createTracing,
- getEnabledCategories
+ getEnabledCategories,
};