# Revert "workspace: Fix edge case when saving workspace with no paths" \(\#54688\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c7dd199a85d24adba6e81cca8cb212ece403726a

Requested commit: c7dd199a85d24adba6e81cca8cb212ece403726a

Commit: c7dd199a85d24adba6e81cca8cb212ece403726a

Tree: 14c3f5d123e5281f25f5fe8ec259adf8dec5916e

Author: Yara 🏳️‍⚧️

Committer: GitHub

## Message

````
Revert "workspace: Fix edge case when saving workspace with no paths" (#54688)

Reverts zed-industries/zed#52810

This seems to have broken CI, after this was merged every test run
failed with:

```
Summary [ 145.368s] 5753 tests run: 5750 passed, 3 failed, 20 skipped
        FAIL [   0.411s] (5476/5753) workspace persistence::tests::test_gc_preserves_current_and_last_sessions
        FAIL [   0.431s] (5477/5753) workspace persistence::tests::test_gc_deletes_empty_workspace_with_items
        FAIL [   0.452s] (5479/5753) workspace persistence::tests::test_gc_deletes_stale_outside_window
```

Release Notes:
- N/A
````

## Parents

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

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