-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(commit): fix windows by separating add and commit exec #55
fix(commit): fix windows by separating add and commit exec #55
Conversation
|
||
function handleExecError (err, stderr) { | ||
// If exec returns an error or content in stderr, log it and exit with return code 1 | ||
var errMessage = err || stderr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To preserve the old functionality, this should probably be:
var errMessage = stderr || (err && err.message)
@Tapppi after you address @nexdrew's comments, seems great 👍 it might also be worth configuring this project for AppVeyor. We can use this config as a basis? |
Windows cmd doesn't support separating commands with ';'. Fix by separating the execution of the 'git add' and 'git commit' commands. Added separate test for git add. Fixes conventional-changelog#49
happy to land this and address appveyor in another issue. |
LGTM 👍 Thanks for the contributions! |
Windows cmd doesn't support separating commands with ';'. Fix by separating
the execution of the 'git add' and 'git commit' commands.
Fixes #49