Open balen opened 6 years ago
If you need to solve this manual, because my pull was not accepted right now - just copy a few lines into your file under .atom\packages\git-control\lib\dialogs\project-dialog.coffee
from:
https://github.com/jacogr/atom-git-control/pull/250/files
When are these going to pushed and when is the next release going out.
Even with these steps completed the error persists...
Uncaught TypeError: Path must be a string. Received undefined
path.js:7
Hide Stack Trace
TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.join (path.js:1211:7)
at Object.isMerging (/home/erik/.atom/packages/git-control/lib/git.coffee:135:31)
at GitControlView.module.exports.GitControlView.showSelectedFiles (/home/erik/.atom/packages/git-control/lib/git-control-view.coffee:137:72)
at FileView.module.exports.FileView.showSelected (/home/erik/.atom/packages/git-control/lib/views/file-view.coffee:82:17)
at FileView.module.exports.FileView.selectFile (/home/erik/.atom/packages/git-control/lib/views/file-view.coffee:136:6)
at Object.select (/home/erik/.atom/packages/git-control/lib/views/file-view.coffee:97:27)
at FileItem.select (/home/erik/.atom/packages/git-control/lib/views/file-view.coffee:20:11)
at HTMLSpanElement.<anonymous> (/home/erik/.atom/packages/atom-mermaid/node_modules/space-pen/lib/space-pen.js:220:36)
at HTMLSpanElement.dispatch (/home/erik/.atom/packages/atom-mermaid/node_modules/jquery/dist/jquery.js:4435:9)
at HTMLSpanElement.elemData.handle (/home/erik/.atom/packages/atom-mermaid/node_modules/jquery/dist/jquery.js:4121:28)
try to change str 135 in .atom/packages/git-control/lib/git.coffee to
return fs.existsSync(path.join(repo.repo.workingDirectory, 'MERGE_HEAD'))
[Enter steps to reproduce:]
Atom: 1.21.1 x64 Electron: 1.6.15 OS: Mac OS X 10.13 Thrown From: git-control package 0.9.0
Stack Trace
Uncaught TypeError: Path must be a string. Received undefined
Commands
Non-Core Packages