Object.dirname is deprecated.
snrmwg opened this issue · comments
Marc commented
Argument to path.dirname
must be a string
Object.dirname (C:\Users\90019971\AppData\Local\atom\app-1.28.0\resources\app.asar\src\electron-shims.js:9:10)
File.getParent (<embedded>:133739:45)
_callee2$ (C:\Users\90019971\.atom\packages\git-plus\lib\git-es.js:35:46)
tryCatch (C:\Users\90019971\.atom\packages\git-plus\node_modules\regenerator-runtime\runtime.js:62:40)
Generator._invoke (C:\Users\90019971\.atom\packages\git-plus\node_modules\regenerator-runtime\runtime.js:296:22)
Generator.next (C:\Users\90019971\.atom\packages\git-plus\node_modules\regenerator-runtime\runtime.js:114:21)
Akonwi Ngoh commented
Can you provide more info on how to reproduce this?
Adam Cheasley commented
I've also just run into this. It appears to happen when changing branches with a dirty repo.