From d5a1729b0c9ef35fb012be483c3c4b2b5598f1df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlia=20Mir=20Pedrol?= Date: Wed, 21 Feb 2024 15:33:49 +0100 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Matthias Hörtenhuber --- .../src/main/nextflow/validation/JsonSchemaValidator.groovy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/nf-validation/src/main/nextflow/validation/JsonSchemaValidator.groovy b/plugins/nf-validation/src/main/nextflow/validation/JsonSchemaValidator.groovy index 0bdbe558..fd57eed4 100644 --- a/plugins/nf-validation/src/main/nextflow/validation/JsonSchemaValidator.groovy +++ b/plugins/nf-validation/src/main/nextflow/validation/JsonSchemaValidator.groovy @@ -39,7 +39,9 @@ public class JsonSchemaValidator { log.error("""Failed to load the meta schema: The used schema draft (${draft}) is not correct, please use \"https://json-schema.org/draft/2020-12/schema\" instead. - If you are a pipeline developer, check our migration guide for more information: https://nextflow-io.github.io/nf-validation/latest/migration_guide/ - - If you are a pipeline user, pin the previous version of the plugin (1.1.3) to avoid this error: https://www.nextflow.io/docs/latest/plugins.html#using-plugins + - If you are a pipeline user, pin the previous version of the plugin (1.1.3) to avoid this error: https://www.nextflow.io/docs/latest/plugins.html#using-plugins, i.e. set `plugins { + id 'nf-validation@1.1.3' +}` in your `nextflow.config` file """) throw new SchemaValidationException("", []) }