builtins : ajout mention (super) dans la fonction cd
This commit is contained in:
parent
4f11bc71f6
commit
41cfc8c768
1 changed files with 1 additions and 1 deletions
|
@ -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<String>) -> ExitCode {
|
||||
pub(super) fn cd(args: &Vec<String>) -> ExitCode {
|
||||
let path: Option<PathBuf>;
|
||||
|
||||
if !args.is_empty() {
|
||||
|
|
Loading…
Reference in a new issue