Skip to content

Commit d433cda

Browse files
authored
fix: make const
Signed-off-by: francesco <[email protected]>
1 parent 003a4cf commit d433cda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ function buildInnerObject (context, location) {
386386
const isRequired = requiredProperties.includes(key)
387387

388388
code += `
389-
let ${value} = obj[${sanitizedKey}]
389+
const ${value} = obj[${sanitizedKey}]
390390
if (${value} !== undefined) {
391391
${addComma}
392392
json += ${JSON.stringify(sanitizedKey + ':')}

0 commit comments

Comments
 (0)