lint compliance
This commit is contained in:
@@ -547,6 +547,7 @@ const deferResponse = function (Env, channel, cb) {
|
|||||||
|
|
||||||
Pinning.isChannelPinned = function (Env, channel, cb) {
|
Pinning.isChannelPinned = function (Env, channel, cb) {
|
||||||
return void cb(void 0, true); // XXX
|
return void cb(void 0, true); // XXX
|
||||||
|
/*
|
||||||
// if the pins are fully loaded then you can answer yes/no definitively
|
// if the pins are fully loaded then you can answer yes/no definitively
|
||||||
if (Env.pinsLoaded) {
|
if (Env.pinsLoaded) {
|
||||||
return void cb(void 0, !isEmpty(Env.pinnedPads[channel]));
|
return void cb(void 0, !isEmpty(Env.pinnedPads[channel]));
|
||||||
@@ -560,5 +561,6 @@ Pinning.isChannelPinned = function (Env, channel, cb) {
|
|||||||
// as you learn that one account has pinned a file.
|
// as you learn that one account has pinned a file.
|
||||||
// negative responses have to wait until the end
|
// negative responses have to wait until the end
|
||||||
deferResponse(Env, channel, cb);
|
deferResponse(Env, channel, cb);
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user