Skip to content

Commit

Permalink
fix(wrapping): Fix fields to wrap instead of truncate at 100 characters
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jimthedev committed May 7, 2015
1 parent d82c44a commit f637e2d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
{
"name": "commitizen",
"version": "1.0.3",
"version": "1.0.4",
"description": "Git commit, but play nice with conventions.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"homepage": "https://github.com/commitizen/cz-cli",
"repository": {
"type": "git",
"url": "https://github.com/commitizen/cz-cli.git"
},
"bin": {
"git-cz": "./bin/git-cz",
"git-cz-debug": "./bin/git-cz-debug",
Expand All @@ -16,11 +21,11 @@
"license": "MIT",
"dependencies": {
"chalk": "^1.0.0",
"cz-conventional-changelog": "^1.0.0",
"cz-conventional-changelog": "^1.1.0",
"dedent": "^0.4.0",
"glob": "^5.0.5",
"gulp": "^3.8.11",
"gulp-git": "^1.1.1",
"gulp-git": "^1.2.2",
"inquirer": "^0.8.2",
"minimist": "^1.1.1",
"strip-json-comments": "^1.0.2",
Expand Down
2 changes: 0 additions & 2 deletions src/cz.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ function withConfig(rawGitArgs, environment, config) {
// Call the prompter method on the module, get the template
m.prompter(inquirer, function(template) {

// TODO, apply the stored m's to the template

// Get a gulp stream based off the config
gulp.src(config.path)

Expand Down

0 comments on commit f637e2d

Please sign in to comment.