Skip to content

Commit f637e2d

Browse files
committed
fix(wrapping): Fix fields to wrap instead of truncate at 100 characters
Fields should not be truncated at 100 characters. Instead, they should wrap. The exception is the first, or summary line of the commit message which is truncated to 100 characters since it is a summary. This closes #4
1 parent d82c44a commit f637e2d

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
{
22
"name": "commitizen",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "Git commit, but play nice with conventions.",
55
"main": "index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
9+
"homepage": "https://github.com/commitizen/cz-cli",
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/commitizen/cz-cli.git"
13+
},
914
"bin": {
1015
"git-cz": "./bin/git-cz",
1116
"git-cz-debug": "./bin/git-cz-debug",
@@ -16,11 +21,11 @@
1621
"license": "MIT",
1722
"dependencies": {
1823
"chalk": "^1.0.0",
19-
"cz-conventional-changelog": "^1.0.0",
24+
"cz-conventional-changelog": "^1.1.0",
2025
"dedent": "^0.4.0",
2126
"glob": "^5.0.5",
2227
"gulp": "^3.8.11",
23-
"gulp-git": "^1.1.1",
28+
"gulp-git": "^1.2.2",
2429
"inquirer": "^0.8.2",
2530
"minimist": "^1.1.1",
2631
"strip-json-comments": "^1.0.2",

src/cz.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ function withConfig(rawGitArgs, environment, config) {
3535
// Call the prompter method on the module, get the template
3636
m.prompter(inquirer, function(template) {
3737

38-
// TODO, apply the stored m's to the template
39-
4038
// Get a gulp stream based off the config
4139
gulp.src(config.path)
4240

0 commit comments

Comments
 (0)