fix: remove unused cfg(not(unix)) import, unify Path import, add mise.toml
Release / Build aarch64-unknown-linux-gnu (push) Has been cancelled
Release / Build aarch64-apple-darwin (push) Has been cancelled
Release / Build aarch64-pc-windows-msvc (push) Has been cancelled
Release / Build x86_64-unknown-linux-gnu (push) Has been cancelled
Release / Build x86_64-apple-darwin (push) Has been cancelled
Release / Build x86_64-pc-windows-msvc (push) Has been cancelled
Release / Create GitHub Release (push) Has been cancelled

This commit is contained in:
2026-06-03 19:07:50 +08:00
parent 4b8ae926da
commit d8f1a6d115
2 changed files with 3 additions and 3 deletions
+2
View File
@@ -0,0 +1,2 @@
[tools]
rust = "latest"
+1 -3
View File
@@ -2,9 +2,7 @@ use super::{ConnectionProfile, ConnectionSource, ConnectionType, ShellCandidate,
use anyhow::{Result, bail}; use anyhow::{Result, bail};
#[cfg(unix)] #[cfg(unix)]
use std::fs; use std::fs;
#[cfg(not(unix))] use std::path::{Path, PathBuf};
use std::path::Path;
use std::path::{PathBuf};
impl super::SshellConfig { impl super::SshellConfig {
pub fn local_shell_candidates(&self) -> Vec<ShellCandidate> { pub fn local_shell_candidates(&self) -> Vec<ShellCandidate> {