Skip to content

Commit

Permalink
remove the need for the PR description to be filled in
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe committed Jan 27, 2021
1 parent abbd1dc commit 5574b25
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pr-lint/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,6 @@ async function main() {
);
}

const { body } = contextPullRequest;
if (!body.trim()) {
// Even for typos it's required that to explain something about the PR.
return (
"Pull request body can't be empty. " +
"Please try to explain what the pull request accomplishes."
);
}

// No errors or problems!
return null;
}
Expand Down

0 comments on commit 5574b25

Please sign in to comment.