Skip to content

Commit

Permalink
make function type of properties consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
rochdev committed Feb 13, 2025
1 parent a5200a8 commit ed889cc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/dd-trace/src/telemetry/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
let telemetry

const noop = telemetry = {
start () {},
stop () {},
updateConfig () {},
updateIntegrations () {},
appClosing () {}
start: () => {},
stop: () => {},
updateConfig: () => {},
updateIntegrations: () => {},
appClosing: () => {}
}

module.exports = {
start (config, ...args) {
start: (config, ...args) => {
if (!config?.telemetry?.enabled) return

telemetry = require('./telemetry')
Expand Down

0 comments on commit ed889cc

Please sign in to comment.