From 08b830fe5069283f0ea37c40556fa63e8b6c69a9 Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Mon, 24 Feb 2020 13:01:08 +0000 Subject: [PATCH] Fixes https://github.com/json-schema-org/json-schema-org.github.io/issues/185 Update ajv-cli which now allows for argument to prevent adding the provided schema to the index. Previously the provided schema, draft-07 meta-schema, was being added, and ajv checks if the schema is unique according to it's provided ... of course this caused problems. Put in ajv-cli RP to allow new argument --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index bb139d44..724b3497 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,8 @@ sudo: false node_js: - node before_script: -- npm install ajv-cli +- npm install ajv-cli@3.1.0 - PATH="./node_modules/.bin/:$PATH" script: - bundle exec jekyll build -- ajv test -s draft-07/schema -d "learn/examples/*.json" --valid +- ajv test -s draft-07/schema -d "learn/examples/*.json" --valid --add-used-schema=false