Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bengl committed Dec 13, 2024
1 parent ebcf4ef commit 3fa3454
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/datadog-instrumentations/src/next.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,10 @@ addHook({ name: 'next', versions: ['>=13.2'], file: 'dist/server/next-server.js'
return nextServer
})

addHook({ name: 'next', versions: ['>=11.1 <12.0.0', '>=12.2.0 <13.2'], file: 'dist/server/next-server.js' }, nextServer => {
addHook({ name: 'next', versions: [

Check failure on line 250 in packages/datadog-instrumentations/src/next.js

View workflow job for this annotation

GitHub Actions / lint

Expected a line break after this opening brace

Check failure on line 250 in packages/datadog-instrumentations/src/next.js

View workflow job for this annotation

GitHub Actions / lint

Expected a line break after this opening brace

Check failure on line 250 in packages/datadog-instrumentations/src/next.js

View workflow job for this annotation

GitHub Actions / lint

Object properties must go on a new line if they aren't all on the same line
'>=11.1 <12.0.0',
'>=12.2.0 <13.2'
], file: 'dist/server/next-server.js' }, nextServer => {

Check failure on line 253 in packages/datadog-instrumentations/src/next.js

View workflow job for this annotation

GitHub Actions / lint

Object properties must go on a new line if they aren't all on the same line

Check failure on line 253 in packages/datadog-instrumentations/src/next.js

View workflow job for this annotation

GitHub Actions / lint

Expected a line break before this closing brace

Check failure on line 253 in packages/datadog-instrumentations/src/next.js

View workflow job for this annotation

GitHub Actions / lint

Expected a line break before this closing brace
const Server = nextServer.default
shimmer.wrap(Server.prototype, 'handleApiRequest', wrapHandleApiRequest)
return nextServer
Expand Down

0 comments on commit 3fa3454

Please sign in to comment.