From 062000b50eed7fbcb37cd8f742b8dcb376da0ff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Thu, 2 Sep 2021 12:59:42 +0200 Subject: [PATCH] fix: linter --- lib/models/formats/ogr.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/models/formats/ogr.js b/lib/models/formats/ogr.js index 085994ce..7373f0f1 100644 --- a/lib/models/formats/ogr.js +++ b/lib/models/formats/ogr.js @@ -58,14 +58,14 @@ OgrFormat.prototype.toOGR = function (options, outFormat, outFilename, callback) var dbpass = dbopts.pass; var dbname = dbopts.dbname; - var timeout = 5 * 60 * 1000 // 5 minutes in milliseconds + var timeout = 5 * 60 * 1000; // 5 minutes in milliseconds if (Number.isFinite(global.settings.export_command_timeout)) { timeout = global.settings.export_command_timeout; } if (Number.isFinite(options.timeout) && options.timeout > 0) { - timeout = options.timeout + timeout = options.timeout; } var that = this;