Skip to content

Commit 7f922f2

Browse files
author
Amine Mouafik
committed
fix(commit): Remove es6 string syntax (backticks)
1 parent 4e8da01 commit 7f922f2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
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
}

0 commit comments

Comments
 (0)