Skip to content

Commit 7beedeb

Browse files
committed
Fix lint
1 parent 1d6d314 commit 7beedeb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/core/lib/env/aws_lambda.js

+2-3
Original file line numberDiff line numberDiff 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+
};

packages/core/lib/patchers/aws_p.js

+1-1
Original file line numberDiff line numberDiff 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));

0 commit comments

Comments
 (0)