api-gensdk
Advanced tools
Comparing version 0.1.13 to 0.1.14
@@ -30,9 +30,10 @@ "use strict"; | ||
const clsMetadata = metadata[className]; | ||
const functionName = {}; | ||
const tmpFuncNames = {}; | ||
clsMetadata.forEach(route => { | ||
const count = functionName[route.functionName]; | ||
const functionName = route.functionName; | ||
const count = tmpFuncNames[functionName]; | ||
if (count) { | ||
route.functionName += `_${count}`; | ||
} | ||
functionName[route.functionName] = count ? count + 1 : 1; | ||
tmpFuncNames[functionName] = count ? count + 1 : 1; | ||
}); | ||
@@ -39,0 +40,0 @@ }); |
{ | ||
"name": "api-gensdk", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13273
203