os: windows 7 nodegit: 0.18.3 This line will throw "Error: Invalid path: xxx" > index.addByPath(path.join(directoryName, fileName)) I changed it to the following, it's ok > index.addByPath(directoryName + '/' + fileName)
os: windows 7
nodegit: 0.18.3
This line will throw "Error: Invalid path: xxx"
I changed it to the following, it's ok