Files
oak-gpui/crates
DinoandSmit Barmase a9455eb947 migrator: Avoid attempting to migrate empty content (#39771)
This commit fixes an issue where opening zed using `--user-data-dir`
with an empty directory would cause the first run to display a "Failed
to migrate settings" error.

This was caused by the migrator attempting to migrate an empty string,
so if that's the case, we'll simply return `Ok(None)` and avoid
attempting to migrate anything at all.

Relates to #39400

Release Notes:

- N/A

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
2025-10-08 13:38:26 +01:00
..
2025-09-26 11:41:26 -04:00
2025-10-02 03:52:06 +00:00
2025-09-25 14:42:32 -07:00
2025-09-26 11:41:26 -04:00
2025-09-24 02:19:52 -06:00
2025-10-08 06:23:43 +00:00
2025-09-22 14:36:10 -07:00
2025-10-08 10:34:06 +00:00
2025-09-26 11:41:26 -04:00