remove an XXX because the code looks safe
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user