From 82a6e5699f46a425cf5c03280ab11a78f358cd70 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Fri, 5 Feb 2021 16:02:04 -0500 Subject: [PATCH] imageGroupsFiles reference fix --- libs/Task.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Task.js b/libs/Task.js index fc6b61c..a438854 100644 --- a/libs/Task.js +++ b/libs/Task.js @@ -474,7 +474,7 @@ module.exports = class Task{ if (this.geoFiles.length > 0){ runnerOptions.geo = fs.realpathSync(path.join(this.getGcpFolderPath(), this.geoFiles[0])); } - if (this.geoFiles.length > 0){ + if (this.imageGroupsFiles.length > 0){ runnerOptions["split-image-groups"] = fs.realpathSync(path.join(this.getGcpFolderPath(), this.imageGroupsFiles[0])); }