fix: linter

This commit is contained in:
Daniel García Aubert 2021-09-02 12:59:42 +02:00
parent 277400660a
commit 062000b50e

View File

@ -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;