fix: linter
This commit is contained in:
parent
277400660a
commit
062000b50e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user