Fix cfg!(target_os)
spelling mistake (#11430)
This PR fixes the spelling mistake cfg!(target_os = "windows") Release Notes: - N/A
This commit is contained in:
parent
27a9498cb0
commit
80733e919d
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ lazy_static::lazy_static! {
|
||||||
pub static ref LOCAL_SETTINGS_RELATIVE_PATH: &'static Path = Path::new(".zed/settings.json");
|
pub static ref LOCAL_SETTINGS_RELATIVE_PATH: &'static Path = Path::new(".zed/settings.json");
|
||||||
pub static ref LOCAL_TASKS_RELATIVE_PATH: &'static Path = Path::new(".zed/tasks.json");
|
pub static ref LOCAL_TASKS_RELATIVE_PATH: &'static Path = Path::new(".zed/tasks.json");
|
||||||
pub static ref LOCAL_VSCODE_TASKS_RELATIVE_PATH: &'static Path = Path::new(".vscode/tasks.json");
|
pub static ref LOCAL_VSCODE_TASKS_RELATIVE_PATH: &'static Path = Path::new(".vscode/tasks.json");
|
||||||
pub static ref TEMP_DIR: PathBuf = if cfg!(target_os = "widows") {
|
pub static ref TEMP_DIR: PathBuf = if cfg!(target_os = "windows") {
|
||||||
dirs::cache_dir()
|
dirs::cache_dir()
|
||||||
.expect("failed to determine LocalAppData directory")
|
.expect("failed to determine LocalAppData directory")
|
||||||
.join("Zed")
|
.join("Zed")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue