remove an XXX because the code looks safe
This commit is contained in:
parent
a2c8ec963c
commit
58cee9e13d
@ -253,7 +253,7 @@ var listChannels = function (root, handler, cb) {
|
|||||||
|
|
||||||
// otherwise throw it on the pile
|
// otherwise throw it on the pile
|
||||||
sema.take(function (give) {
|
sema.take(function (give) {
|
||||||
var next = w(give()); // XXX validate that it's ok to 'waitFor' here instead of outside the 'take'
|
var next = w(give());
|
||||||
Fs.stat(filepath, w(function (err, stats) {
|
Fs.stat(filepath, w(function (err, stats) {
|
||||||
if (err) {
|
if (err) {
|
||||||
return void handler(err);
|
return void handler(err);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user