This repository was archived by the owner on Oct 15, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +10
-11
lines changed
Expand file tree Collapse file tree 5 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 396396 if ( exceptionHandlerState . captureFn !== null ) {
397397 exceptionHandlerState . captureFn ( er ) ;
398398 } else if ( ! process . emit ( 'uncaughtException' , er ) ) {
399- //ENABLE_TTD
400- NativeModule . require ( 'trace_mgr' ) . onUncaughtExceptionHandler ( ) ;
399+ //ENABLE_TTD
400+ NativeModule . require ( 'trace_mgr' ) . onUncaughtExceptionHandler ( ) ;
401401
402402 // If someone handled it, then great. otherwise, die in C++ land
403403 // since that means that we'll exit the process, emit the 'exit' event
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ function setupSignalHandlers() {
238238 process . emit ( 'SIGINT' ) ;
239239 } ;
240240
241- const signum = constants [ ' SIGINT' ] ;
241+ const signum = constants . SIGINT ;
242242 const err = wrap . start ( signum ) ;
243243 if ( err ) {
244244 wrap . close ( ) ;
Original file line number Diff line number Diff line change @@ -263,11 +263,11 @@ function updateGlobalSampleStats(eventKind) {
263263 currentSampleRate [ eventKind ] *= emitOptions . backoffFactors [ eventKind ] ;
264264
265265 var updateTime = new Date ( ) ;
266- emitMinTimeValue [ ' emitOnLogWarn' ] = new Date ( updateTime ) ;
267- emitMinTimeValue [ ' emitOnLogError' ] = new Date ( updateTime ) ;
266+ emitMinTimeValue . emitOnLogWarn = new Date ( updateTime ) ;
267+ emitMinTimeValue . emitOnLogError = new Date ( updateTime ) ;
268268
269269 if ( eventKind === 'emitOnAssert' ) {
270- emitMinTimeValue [ ' emitOnAssert' ] = updateTime ;
270+ emitMinTimeValue . emitOnAssert = updateTime ;
271271 }
272272}
273273
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ namespace node {
4646void FillStatsArray (v8::Local<v8::Float64Array> fields_array,
4747 const uv_stat_t * s,
4848 int offset) {
49-
5049 Local<v8::ArrayBuffer> ab = fields_array->Buffer ();
5150 double * fields = static_cast <double *>(ab->GetContents ().Data ()) + offset;
5251
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ keys.forEach((key) => {
1212 if ( key . startsWith ( 'UV_' ) ) {
1313 const val = uv [ key ] ;
1414 assert . throws ( ( ) => uv [ key ] = 1 ,
15- common . engineSpecificMessage ( {
16- v8 : / ^ T y p e E r r o r : C a n n o t a s s i g n t o r e a d o n l y p r o p e r t y / ,
17- chakracore : / ^ T y p e E r r o r : A s s i g n m e n t t o r e a d - o n l y p r o p e r t i e s i s n o t a l l o w e d i n s t r i c t m o d e $ /
18- } )
15+ common . engineSpecificMessage ( {
16+ v8 : / ^ T y p e E r r o r : C a n n o t a s s i g n t o r e a d o n l y p r o p e r t y / ,
17+ chakracore : / ^ T y p e E r r o r : A s s i g n m e n t t o r e a d - o n l y p r o p e r t i e s i s n o t a l l o w e d i n s t r i c t m o d e $ /
18+ } )
1919 ) ;
2020 assert . strictEqual ( uv [ key ] , val ) ;
2121 }
You can’t perform that action at this time.
0 commit comments