From 72953bf68e3cd10df28d1dc7ac0d9b14a0cb0c59 Mon Sep 17 00:00:00 2001 From: Lars Trieloff <trieloff@adobe.com> Date: Wed, 13 Dec 2017 12:37:54 +0000 Subject: [PATCH] [trivial] refactor: rename load into process --- cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli.js b/cli.js index 6e9f60b..4b1cbbd 100644 --- a/cli.js +++ b/cli.js @@ -87,7 +87,7 @@ if (target.isDirectory()) { return Promise.reduce(files, readSchemaFile, schemaPathMap) .then(schemaMap => { logger.info('finished reading all *.schema.json files in %s, beginning processing….', schemaPath); - return Schema.load(schemaMap, schemaPath, outDir, schemaDir, metaElements); + return Schema.process(schemaMap, schemaPath, outDir, schemaDir, metaElements); }) .then(() => { logger.info('Processing complete.'); @@ -108,7 +108,7 @@ if (target.isDirectory()) { Schema.setAjv(ajv); Schema.setSchemaPathMap(schemaPathMap); logger.info('finished reading %s, beginning processing....', schemaPath); - return Schema.load(schemaMap, schemaPath, outDir, schemaDir, metaElements); + return Schema.process(schemaMap, schemaPath, outDir, schemaDir, metaElements); }) .then(() => { logger.info('Processing complete.'); -- GitLab