Skip to content

Commit

Permalink
Remove unnecessary Path crate and copy of working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Hsiao authored and Nathan Hsiao committed Sep 2, 2024
1 parent df05211 commit 6aff644
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions applications/cd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use alloc::string::String;
use alloc::sync::Arc;
use alloc::vec::Vec;
use getopts::Options;
use path::Path;

pub fn main(args: Vec<String>) -> isize {
let mut opts = Options::new();
Expand All @@ -33,8 +32,6 @@ pub fn main(args: Vec<String>) -> isize {
println!("failed to get current task");
return -1;
};
// Obtains copy of working directory for reference
let working_dir = Arc::clone(&curr_env.lock().working_dir);

// go to root directory
if matches.free.is_empty() {
Expand Down

0 comments on commit 6aff644

Please sign in to comment.