Fix bug with gitExec #11

Open
wants to merge 1 commit into
from

1 participant

@apeace

I ran into a problem with this line here: https://github.com/creationix/node-git/blob/master/lib/git-fs.js#L139

It was throwing an error because gitExec requires all three arguments. I've fixed that by defaulting to "utf8" if no encoding is given

Maybe it's simpler just to add the "utf8" parameter to the getExec call I linked above, that's up to you. I figured I would share this fix anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment