Skip to content

Commit 6932828

Browse files
authored
fix: lint
Signed-off-by: francesco <[email protected]>
1 parent 5fde9b6 commit 6932828

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,8 @@ function buildInnerObject (context, location) {
375375
addComma = '!addComma && (addComma = true) || (json += JSON_STR_COMMA)'
376376
}
377377

378-
for (const key of propertiesKeys) {
378+
for (let i = 0; i < propertiesKeys.length; i++) {
379+
const key = propertiesKeys[i]
379380
let propertyLocation = propertiesLocation.getPropertyLocation(key)
380381
if (propertyLocation.schema.$ref) {
381382
propertyLocation = resolveRef(context, propertyLocation)

0 commit comments

Comments
 (0)