Skip to content

Commit e5a1939

Browse files
committed
Merge pull request #2 from kytwb/master
fix(commit): Remove es6 string syntax (backticks)
2 parents 4e8da01 + 5b04bc1 commit e5a1939

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

index.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,7 @@ module.exports = {
7777

7878
// Plug the answers into our template
7979
// By default, we dedent this for you
80-
commit(`${answers.type}(${answers.scope}): ${answers.subject}`.slice(0, 100) + `
81-
82-
` + answers.body.slice(0, 100) + `
83-
84-
` + answers.footer.slice(0, 100));
80+
commit(answers.type + '(' + answers.scope + '): ' + answers.subject.slice(0, 100) + '\n\n' + answers.body.slice(0, 100) + '\n\n' + answers.footer.slice(0, 100));
8581
});
8682
}
8783
}

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"name": "cz-conventional-changelog",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Commitizen adapter following the conventional-changelog format.",
55
"main": "index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
99
"author": "Jim Cummins <[email protected]>",
1010
"license": "MIT",
11-
"dependencies": {
12-
}
11+
"dependencies": {}
1312
}

0 commit comments

Comments
 (0)