@atomist/automation-client
Version:
Atomist API for software low-level client
25 lines • 708 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class DefaultReviewComment {
constructor(severity, category, detail, sourceLocation, fix) {
this.severity = severity;
this.category = category;
this.detail = detail;
this.sourceLocation = sourceLocation;
this.fix = fix;
}
}
exports.DefaultReviewComment = DefaultReviewComment;
/**
* Give a project a clean bill of health, with no comments
* @param repoId identification of project
* @return {{repoId: RepoRef, comments: Array}}
*/
function clean(repoId) {
return {
repoId,
comments: [],
};
}
exports.clean = clean;
//# sourceMappingURL=ReviewResult.js.map