mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
fix linting issues
This commit is contained in:
parent
e889a40caf
commit
cda7b374e2
|
|
@ -190,6 +190,7 @@ func (c *AppConfig) SaveAppState() error {
|
|||
return ioutil.WriteFile(filepath, marshalledAppState, 0644)
|
||||
}
|
||||
|
||||
// LoadAppState loads recorded AppState from file
|
||||
func (c *AppConfig) LoadAppState() error {
|
||||
filepath, err := prepareConfigFile("state.yml")
|
||||
if err != nil {
|
||||
|
|
@ -205,6 +206,7 @@ func (c *AppConfig) LoadAppState() error {
|
|||
return yaml.Unmarshal(appStateBytes, c.AppState)
|
||||
}
|
||||
|
||||
// GetDefaultConfig returns the application default configuration
|
||||
func GetDefaultConfig() []byte {
|
||||
return []byte(
|
||||
`gui:
|
||||
|
|
|
|||
Loading…
Reference in a new issue