From 2b2f452d1724b4db9df4c9065b2ad51acdaf4910 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 3 Oct 2019 15:15:49 -0400 Subject: Here we go... CPS --- src/DataConfig.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DataConfig.groovy b/src/DataConfig.groovy index 666360c..37adf88 100644 --- a/src/DataConfig.groovy +++ b/src/DataConfig.groovy @@ -14,10 +14,10 @@ class DataConfig implements Serializable { DataConfig(String direction = "upload") { this.direction = direction.toLowerCase() - if (!this.isUpload() && !this.isDownload()) { - throw new Exception("DataConfig.direction argument must be 'upload'" - + "or 'download' (got: ${this.direction})") - } + //if (!this.isUpload() && !this.isDownload()) { + // throw new Exception("DataConfig.direction argument must be 'upload'" + // + "or 'download' (got: ${this.direction})") + //} } def isUpload() { -- cgit