From d1db7528421d14c1ffff0250e6df5c0d4fb1c4a3 Mon Sep 17 00:00:00 2001 From: magicmilo Date: Thu, 11 Nov 2021 11:45:33 +0000 Subject: [PATCH] only validate real forms --- app/helpers/json_schema_validation.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/helpers/json_schema_validation.rb b/app/helpers/json_schema_validation.rb index dd0655d3b..086110c54 100644 --- a/app/helpers/json_schema_validation.rb +++ b/app/helpers/json_schema_validation.rb @@ -29,7 +29,8 @@ begin return end - directories = ["config/forms", "spec/fixtures/forms"] + # directories = ["config/forms", "spec/fixtures/forms"] + directories = ["config/forms"] get_all_form_paths(directories).each do |path| puts path