Fixed the missing variable declarations on iterators. This makes running the tests in ES6 pass!
Signed-off-by: Alexander Mays <maysale01@gmail.com>
This commit is contained in:
@@ -434,7 +434,7 @@ function includePath(config, auth, response, path) {
|
||||
function findPointers(object, path) {
|
||||
if (object instanceof Array) {
|
||||
var answer = [];
|
||||
for (x of object) {
|
||||
for (var x of object) {
|
||||
answer = answer.concat(findPointers(x, path));
|
||||
}
|
||||
return answer;
|
||||
|
||||
Reference in New Issue
Block a user