You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error encountered
TypeError: Cannot read property 'getTree' of undefined
at Commit.getTree (node_modules/nodegit/dist/commit.js:302:20)
at nodegit.Repository.open.then.then.then.parentCommit (main.js:11:23)
at tryCallOne (node_modules/nodegit-promise/lib/core.js:37:12)
at node_modules/nodegit-promise/lib/core.js:103:15
at flush (node_modules/asap/raw.js:50:29)
at _combinedTickCallback (internal/process/next_tick.js:132:7)
at process._tickCallback (internal/process/next_tick.js:181:9)
It looks like this line throws an exception because this.repo is undefined.
Activity
rcjsuen commentedon Apr 10, 2019
Thank you for your bug report, @rigdern.
I've opened #1658 which should resolve this issue.