replace all var with let (reduces warnings)

This commit is contained in:
TheArcaneBrony
2022-07-18 18:30:53 +02:00
parent afb82deb94
commit e536fb2f72
60 changed files with 133 additions and 133 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ const schemas = JSON.parse(fs.readFileSync(SchemaPath, { encoding: "utf8" }));
const specification = JSON.parse(fs.readFileSync(openapiPath, { encoding: "utf8" }));
function combineSchemas(schemas) {
var definitions = {};
let definitions = {};
for (const name in schemas) {
definitions = {