# Fix auto update not defaulting to true \(\#38022\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/b60e70578281aec2dd399a2af1d40ad1433db3de)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: b60e70578281aec2dd399a2af1d40ad1433db3de

Requested commit: b60e70578281aec2dd399a2af1d40ad1433db3de

Commit: b60e70578281aec2dd399a2af1d40ad1433db3de

Tree: f0a064abe2d96f1dd632913c0d271025b683d37e

Author: Anthony Eid

Committer: GitHub

## Message

```
Fix auto update not defaulting to true (#38022)

#37337 Made `AutoUpdateSetting` `FileContent =
AutoUpdateSettingsContent` which caused a deserialization bug to occur
because the field it was wrapping wasn't optional. Thus serde would
deserialize the wrapped type `bool` to its default value `false`
stopping the settings load function from reading the correct default
value from `default.json`

I also added a log message that states when the auto updater struct is
checking for updates to make this easier to test.

Release Notes:

- fix auto update defaulting to false
```

## Parents

- [2bb50acb584bbd459790e1bcda7a218b2fdd732f](https://git.cafe/gitcafe/zed/commit/2bb50acb584bbd459790e1bcda7a218b2fdd732f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/b60e70578281aec2dd399a2af1d40ad1433db3de?format=markdown)
