robocop icon indicating copy to clipboard operation
robocop copied to clipboard

Give more comment abstraction

Open siddharthkp opened this issue 8 years ago • 0 comments

pullRequest, commit_id can come from request payload, filename and position can come from sniffer.

function comment(pullRequest, commit_id, filename, position) {
    robocop.helpers.comment('review', {
        pullRequest: pullRequest,
        body: 'Not on my watch!',
        commit_id: commit_id,
        path: filename,
        position: position
    });
}
`

siddharthkp avatar Sep 10 '15 09:09 siddharthkp