1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-25 12:24:47 +02:00

extra comment

This commit is contained in:
Jesse Duffield 2021-10-16 12:09:22 +11:00
parent d02e52989e
commit 8c25aaa687

View File

@ -284,6 +284,7 @@ func loadAppState() (*AppState, error) {
filepath, err := configFilePath("state.yml")
if err != nil {
if os.IsPermission(err) {
// apparently when people have read-only permissions they prefer us to fail silently
return getDefaultAppState(), nil
}
return nil, err