lint compliance

pull/1/head
yflory 4 years ago
parent 70b796c406
commit f5a0d541a5

@ -1629,7 +1629,7 @@ define([
rpc.send('COOKIE', '', function (err) { rpc.send('COOKIE', '', function (err) {
cb(err); cb(err);
}); });
} };
// Wait for the RPC we need to be ready and then tyr to authenticate // Wait for the RPC we need to be ready and then tyr to authenticate
if (_store.onRpcReadyEvt) { if (_store.onRpcReadyEvt) {

@ -109,7 +109,7 @@ define([
nThen(function (waitFor) { nThen(function (waitFor) {
// If we're in onCacheReady, make sure we have a cache for this shared folder // If we're in onCacheReady, make sure we have a cache for this shared folder
if (config.cache) { if (config.cache) {
Cache.getChannelCache(secret.channel, waitFor(function (err, res) { Cache.getChannelCache(secret.channel, waitFor(function (err) {
if (err === "EINVAL") { // Cache not found if (err === "EINVAL") { // Cache not found
waitFor.abort(); waitFor.abort();
store.manager.restrictedProxy(id, secret.channel); store.manager.restrictedProxy(id, secret.channel);

Loading…
Cancel
Save