@fairfox/polly 0.36.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5289,6 +5289,13 @@ class HandlerExtractor {
|
|
|
5289
5289
|
assignments.push({ field, value });
|
|
5290
5290
|
return;
|
|
5291
5291
|
}
|
|
5292
|
+
if (Node2.isIdentifier(initializer)) {
|
|
5293
|
+
const paramName2 = initializer.getText();
|
|
5294
|
+
if (this.currentFunctionParams.includes(paramName2)) {
|
|
5295
|
+
assignments.push({ field, value: `param:${paramName2}` });
|
|
5296
|
+
return;
|
|
5297
|
+
}
|
|
5298
|
+
}
|
|
5292
5299
|
const paramName = this.extractPayloadPropertyParam(initializer);
|
|
5293
5300
|
if (paramName !== null) {
|
|
5294
5301
|
assignments.push({ field, value: `param:${paramName}` });
|
|
@@ -7717,4 +7724,4 @@ main().catch((error) => {
|
|
|
7717
7724
|
process.exit(1);
|
|
7718
7725
|
});
|
|
7719
7726
|
|
|
7720
|
-
//# debugId=
|
|
7727
|
+
//# debugId=550B2383F1F1827964756E2164756E21
|