We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 003a4cf commit d433cdaCopy full SHA for d433cda
index.js
@@ -386,7 +386,7 @@ function buildInnerObject (context, location) {
386
const isRequired = requiredProperties.includes(key)
387
388
code += `
389
- let ${value} = obj[${sanitizedKey}]
+ const ${value} = obj[${sanitizedKey}]
390
if (${value} !== undefined) {
391
${addComma}
392
json += ${JSON.stringify(sanitizedKey + ':')}
0 commit comments