lib/pull-request.js
// attach review comments to the related file
attach review comments to the related file
attach review comments to the related file
function attachCommentsToFile(files, comments) {
    return files.filter(function(file) {
        return file.comments = comments.filter(function(comment) {
            if (file.filename === comment.path) {
                return comment.reply = attachCommentReply.call(this, comment);
            }
        }.bind(this));
    }.bind(this));
}
function attachCommentsToFile ( files , comments ) { return files . filter ( function ( file ) { return file . comments = comments . filter ( function ( comment ) { if ( file . filename === comment . path ) { return comment . reply = attachCommentReply . call ( this , comment ) ; } } . bind ( this ) ) ; } . bind ( this ) ) ; }
attach review comments to the related file
attach review comments to the related file