We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
firstBig
capitalize
1 parent 4bc4b53 commit 018eee7Copy full SHA for 018eee7
lib/help.js
@@ -2,7 +2,7 @@
2
3
module.exports = function() {
4
const name = this.config.name || this.binary.replace('-', ' ')
5
- const firstBig = word => word.charAt(0).toUpperCase() + word.substr(1)
+ const capitalize = word => word.charAt(0).toUpperCase() + word.substr(1)
6
7
const parts = []
8
@@ -37,7 +37,7 @@ module.exports = function() {
37
continue
38
}
39
40
- parts.push(['', firstBig(group) + ':', ''])
+ parts.push(['', capitalize(group) + ':', ''])
41
42
if (group === 'examples') {
43
parts.push(this.generateExamples())
0 commit comments