Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
sagiegurari committed Jan 18, 2025
1 parent 15e057e commit c6057e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/completion_test.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
use crate::completion::generate_completion_zsh;
use std::fs;
use std::io::Cursor;
use std::path::Path;

#[cfg(target_os = "linux")]
use crate::completion::generate_completion_zsh;
use std::io::Cursor;

// Function to clean up test environment by removing the completion file
fn cleanup() {
if let Ok(home_dir) = std::env::var("HOME") {
Expand Down

0 comments on commit c6057e3

Please sign in to comment.