mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-27 12:09:25 +00:00
replace all var with let (reduces warnings)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user