Skip to content
Snippets Groups Projects
Commit 3d3a89dc authored by Lars Trieloff's avatar Lars Trieloff
Browse files

[trivial] fix linting error

parent 2959dc70
Branches
Tags
No related merge requests found
......@@ -161,7 +161,7 @@ processISchema = Promise.method(function(schema,base$id){
return schema;
});
function processSchema(schema){
return new Promise((resolve,reject)=>{
return new Promise((resolve, reject)=>{
if (!schema.properties) {schema.properties={};}
var $id = schema['$id'] || schema['id'];
var base$id = $id;
......@@ -181,7 +181,6 @@ function processSchema(schema){
if (!wmap[base$id][refArr.startpart]){
wmap[base$id][refArr.startpart]=link;
}
}
if (pointer.has(obj,refArr.endpart)){
......@@ -226,7 +225,7 @@ function processSchema(schema){
if (key in ischema['required']) {schema.required.push(key);}
}
} else {
//error
reject('No further schema found');
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment