Skip to content

Commit 303d624

Browse files
author
nicola
committed
returning on callback
1 parent e8e2d33 commit 303d624

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎ldp.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,14 @@ LDP.prototype.listContainer = function (filename, uri, containerData, callback)
139139

140140
async.each(files, function(file, cb) {
141141
if (S(file).endsWith(metaExtension) || S(file).endsWith(ldp.suffixAcl)) {
142-
cb(null);
142+
return cb(null);
143143
}
144144

145145
fs.stat(filename + file, function (err, stats) {
146146

147147
if (err) {
148148
debug("Error getting container: " + err);
149-
cb(null);
149+
return cb(null);
150150
}
151151

152152
resourceGraph.add(

0 commit comments

Comments
 (0)