Skip to content

Commit 0343b0a

Browse files
committed
fix(instrumentations/bluebird): fix instrumentation
1 parent 6d841ef commit 0343b0a

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

lib/instrumentations/bluebird.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,11 @@ module.exports = {
3232
instrumentations: [
3333
{
3434
path: 'bluebird/js/release/promise',
35-
post: function (Bluebird, agent) {
36-
var bluebird = Bluebird()
37-
return wrapper(bluebird, agent)
38-
}
35+
pre: wrapper
3936
},
4037
{
4138
path: 'bluebird/js/main/promise',
42-
post: function (Bluebird, agent) {
43-
var bluebird = Bluebird()
44-
return wrapper(bluebird, agent)
45-
}
39+
post: wrapper
4640
},
4741
{
4842
path: 'bluebird',

0 commit comments

Comments
 (0)