From 149e1fd8f4e2fdb41535f9d3203dc6102b9c3184 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Tue, 14 Dec 2021 16:01:30 +0000 Subject: [PATCH] Make sure all jobs are using the new archiver --- meta/folder.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/folder.groovy b/meta/folder.groovy index 2651e70..ad88d7c 100644 --- a/meta/folder.groovy +++ b/meta/folder.groovy @@ -751,8 +751,7 @@ class MetaInfo extends GISJsonSerialised { } void deserialiseJson(rawmeta) { - script.echo("Format: ${rawmeta['format']} ${rawmeta['format'].getClass()}") - if (rawmeta['format'].toString() != '0.1' || rawmeta['format'].toString() != '0.2' ) { + if (rawmeta['format'].toString() != '0.1' && rawmeta['format'].toString() != '0.2' ) { script.error("Unsupported meta format found") return }