File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,7 @@ module.exports.init = function init() {
3939
4040 if ( LambdaUtils . validTraceData ( process . env . _X_AMZN_TRACE_ID ) ) {
4141 contextUtils . setSegment ( facadeSegment ( ) ) ;
42- }
43- else {
42+ } else {
4443 contextUtils . setSegment ( noOpSegment ( ) ) ;
4544 }
4645} ;
@@ -185,4 +184,4 @@ var noOpSegment = function noOpSegment() {
185184 }
186185
187186 return segment ;
188- } ;
187+ } ;
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ function captureAWSRequest(req) {
103103
104104 var completeListener = function ( res ) {
105105 if ( subsegment == null ) {
106- return
106+ return ;
107107 }
108108 subsegment . addAttribute ( 'namespace' , 'aws' ) ;
109109 subsegment . addAttribute ( 'aws' , new Aws ( res , subsegment . name ) ) ;
You can’t perform that action at this time.
0 commit comments