Skip to content

Commit 20a7f1a

Browse files
authored
Update histogram.js
1 parent 67f2432 commit 20a7f1a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/internal/histogram.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ const {
99
Symbol,
1010
} = primordials;
1111

12-
const {
13-
codes: {
14-
ERR_ILLEGAL_CONSTRUCTOR,
15-
}
16-
} = require('internal/errors');
17-
1812
const {
1913
Histogram: _Histogram
2014
} = internalBinding('performance');
@@ -30,6 +24,7 @@ const {
3024
ERR_INVALID_ARG_VALUE,
3125
ERR_INVALID_ARG_TYPE,
3226
ERR_OUT_OF_RANGE,
27+
ERR_ILLEGAL_CONSTRUCTOR,
3328
},
3429
} = require('internal/errors');
3530

0 commit comments

Comments
 (0)