Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
feat: simplify messages, increase line length
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed May 23, 2018
1 parent f5771fb commit 909bae6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/prompt/questions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const MAX_SUBJECT_LENGTH = 50;
const MAX_SUBJECT_LENGTH = 64;
const MIN_SUBJECT_LENGTH = 3;
const MIN_SUBJECT_LENGTH_ERROR_MESSAGE = `The subject must have at least ${MIN_SUBJECT_LENGTH} characters`;

Expand All @@ -18,7 +18,7 @@ const questions = [
value: 'docs'
},
{
name: 'style: Changes that do not affect the meaning of the code\n (white-space, formatting, missing semi-colons, etc)',
name: 'style: Markup-only changes (white-space, formatting, missing semi-colons, etc)',
value: 'style'
},
{
Expand All @@ -34,8 +34,12 @@ const questions = [
value: 'test'
},
{
name: 'chore: Changes to the build process or auxiliary tools\n and libraries such as documentation generation',
name: 'chore: Build process or auxiliary tool changes',
value: 'chore'
},
{
name: 'ci: CI related changes',
value: 'ci'
}
],
message: 'Select the type of change that you\'re committing:',
Expand Down

0 comments on commit 909bae6

Please sign in to comment.