mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-25 12:24:47 +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")
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user