Skip to content

Commit

Permalink
fix(commit): Remove es6 string syntax (backticks)
Browse files Browse the repository at this point in the history
  • Loading branch information
Amine Mouafik committed Apr 24, 2015
1 parent 4e8da01 commit 7f922f2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,7 @@ module.exports = {

// Plug the answers into our template
// By default, we dedent this for you
commit(`${answers.type}(${answers.scope}): ${answers.subject}`.slice(0, 100) + `
` + answers.body.slice(0, 100) + `
` + answers.footer.slice(0, 100));
commit(answers.type + '(' + answers.scope + '): ' + answers.subject.slice(0, 100) + '\n\n' + answers.body.slice(0, 100) + '\n\n' + answers.footer.slice(0, 100));
});
}
}

0 comments on commit 7f922f2

Please sign in to comment.