mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-31 23:19:40 +02:00
extra comment
This commit is contained in:
parent
d02e52989e
commit
8c25aaa687
@ -284,6 +284,7 @@ func loadAppState() (*AppState, error) {
|
|||||||
filepath, err := configFilePath("state.yml")
|
filepath, err := configFilePath("state.yml")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if os.IsPermission(err) {
|
if os.IsPermission(err) {
|
||||||
|
// apparently when people have read-only permissions they prefer us to fail silently
|
||||||
return getDefaultAppState(), nil
|
return getDefaultAppState(), nil
|
||||||
}
|
}
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user