mirror of https://github.com/xwiki-labs/cryptpad
lint compliance
This commit is contained in:
parent
100b417646
commit
fbfb25bf29
|
@ -110,6 +110,7 @@ Workers.initialize = function (Env, config, _cb) {
|
|||
return;
|
||||
}
|
||||
|
||||
const txid = guid();
|
||||
var cb = Util.once(Util.mkAsync(Util.both(_cb, function (err /*, value */) {
|
||||
if (err !== 'TIMEOUT') { return; }
|
||||
// in the event of a timeout the user will receive an error
|
||||
|
@ -124,7 +125,6 @@ Workers.initialize = function (Env, config, _cb) {
|
|||
return void cb('ESERVERERR');
|
||||
}
|
||||
|
||||
const txid = guid();
|
||||
msg.txid = txid;
|
||||
msg.pid = PID;
|
||||
|
||||
|
|
Loading…
Reference in New Issue