diff --git a/src/command/builtins.rs b/src/command/builtins.rs index 8201c9e..dc3524c 100644 --- a/src/command/builtins.rs +++ b/src/command/builtins.rs @@ -3,7 +3,7 @@ use crate::{error::print_error, exit_code::ExitCode}; use std::env; use std::{env::set_current_dir, path::PathBuf}; -pub fn cd(args: &Vec) -> ExitCode { +pub(super) fn cd(args: &Vec) -> ExitCode { let path: Option; if !args.is_empty() {