git-plus icon indicating copy to clipboard operation
git-plus copied to clipboard

Object.dirname is deprecated.

Open snrmwg opened this issue 7 years ago • 2 comments

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)

snrmwg avatar Sep 10 '18 06:09 snrmwg

Can you provide more info on how to reproduce this?

akonwi avatar Sep 13 '18 13:09 akonwi

I've also just run into this. It appears to happen when changing branches with a dirty repo.

adamcheasley avatar Oct 08 '18 10:10 adamcheasley