Skip to content

processDirectory returns broken promise #13

@mahnunchik

Description

@mahnunchik

processDirectory returns broken promise:

core/src/core.js

Lines 126 to 143 in 4924481

processDirectory(path) {
let that = this;
return vfs.listDir(path).then(function(filenames) {
return vow.all(filenames.map(function(filename) {
let fullname = path + '/' + filename;
return vfs.stat(fullname).then(function(stat) {
if (stat.isDirectory() && that._shouldProcess(fullname)) {
return that.processDirectory(fullname);
} else {
return that.processFile(fullname);
}
});
})).then(function(results) {
return [].concat.apply([], results);
});
});
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions