Skip to content

Commit

Permalink
Merge 0e27f6f into 6337c72
Browse files Browse the repository at this point in the history
  • Loading branch information
decompil3d committed Jan 17, 2019
2 parents 6337c72 + 0e27f6f commit 8f324e3
Show file tree
Hide file tree
Showing 5 changed files with 931 additions and 2,442 deletions.
4 changes: 2 additions & 2 deletions lib/plugins/required-file/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ class RequiredFilePlugin {
if (!filePath) {
return done(new Error('No file path specified for required file.'));
}
const message = file.message ||
`You're missing a change to ${filePath}, which is a requirement for changes to this repo.`;
const message = '⚠️ ' + (file.message ||
`You're missing a change to ${filePath}, which is a requirement for changes to this repo.`);
apis.github.checkIfFileExists(data.repository.full_name, filePath, (checkFileExistsErr, exists) => {
if (checkFileExistsErr) return done(checkFileExistsErr);

Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/reviewers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class ReviewerPlugin {
const githubUsernames = usersToRequest.sort().map(username => `@${username}`).join(', ');
apis.commenter.addComment(
commentFormat.replace('%s', githubUsernames),
Commenter.priority.High
Commenter.priority.Medium
);
}

Expand Down

0 comments on commit 8f324e3

Please sign in to comment.