Skip to content
Snippets Groups Projects
Commit a08610c9 authored by Alvaro Cabrera Durán's avatar Alvaro Cabrera Durán
Browse files

Cleanup

parent e746bcba
Branches
No related tags found
No related merge requests found
......@@ -9,6 +9,8 @@ node_js:
- 8
- 9
- 10
- 11
- 12
before_script:
- npm run build
script:
......
......@@ -174,7 +174,7 @@ function run(refs, schema, container) {
// this is the only case where all sub-schemas
// must be resolved before any merge
schemas.forEach(subSchema => {
const _sub = reduce(subSchema, null, rootPath, parentSchema);
const _sub = reduce(subSchema, null, rootPath);
// call given thunks if present
utils.merge(sub, typeof _sub.thunk === 'function'
......
......@@ -7,7 +7,7 @@ import optionAPI from '../api/option';
// TODO provide types
function traverse(schema, path, resolve, rootSchema) {
schema = resolve(schema, null, path, rootSchema);
schema = resolve(schema, null, path);
if (!schema) {
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment