forked from zed-industries/zed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ZED_WORKTREE_ROOT to always point to a directory
Fixes zed-industries#22912 Update `ZED_WORKTREE_ROOT` to always point to a directory. * **Documentation** - Add an example of correct usage of `ZED_WORKTREE_ROOT` in `docs/src/tasks.md`. * **Static Source** - Remove unnecessary comment in `crates/task/src/static_source.rs`. * **VSCode Format** - Add a test case in `crates/task/src/vscode_format.rs` to verify that `ZED_WORKTREE_ROOT` points to a directory. * **Tasks UI** - Modify the `task_context` function in `crates/tasks_ui/src/lib.rs` to ensure `ZED_WORKTREE_ROOT` points to a directory.
- Loading branch information
1 parent
26be440
commit c7113f2
Showing
4 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters