Skip to content

Commit 76667d1

Browse files
committed
fix: gate windows dead code
1 parent 4a170ce commit 76667d1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • crates/vite_global_cli/src/commands

crates/vite_global_cli/src/commands/shell.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,11 @@ pub struct ShellProfile {
181181

182182
#[derive(Clone, Copy)]
183183
pub enum ShellProfileRoot {
184+
#[cfg_attr(windows, allow(dead_code))]
184185
Home,
186+
#[cfg_attr(windows, allow(dead_code))]
185187
Zsh,
188+
#[cfg_attr(windows, allow(dead_code))]
186189
Fish,
187190
NushellConfig,
188191
NushellData,

0 commit comments

Comments
 (0)