cd ~/tmp
mkdir a b
touch a/foo b/foo
cd b
git init
現在atom在每個目錄中打開,嘗試重命名foo為bar. 在目錄中a它按預期作業,在b您收到錯誤訊息無法讀取未定義的屬性 'getPath'。該檔案仍然被重命名。
uj5u.com熱心網友回復:
atom/github/issue 964已經在 2017 年提到了這個錯誤(Git repo 中的檔案重命名)。
最近,它提到了問題 22720,它說修復將在 Atom 1.59 中。(1.59仍處于測驗階段)
問題 22542也參考PR 22543。它包括當前 (2021) 堆疊跟蹤:
TypeError: Cannot read property 'getPath' of undefined
at /usr/lib/atom/node_modules/git-diff/lib/git-diff-view.js:131:45
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/350209.html
上一篇:單擊圖示時SwiftUINSPathControl打開查找器位置
下一篇:Rails5:棄用警告:您正在將ActiveRecord::Base的實體傳遞給`exists?`。..我不知道
