fix mkdir arg to use filepath as type, dont log completion if not on dev profile

ptr.pet a1dbebe2 b7bacebe

verified
Changed files
+2 -1
src
cmd
completion
+1 -1
src/cmd/mkdir.rs
··· 17 17 Signature::build("mkdir") 18 18 .required( 19 19 "path", 20 - SyntaxShape::String, 20 + SyntaxShape::Filepath, 21 21 "path of the directory(s) to create", 22 22 ) 23 23 .input_output_type(Type::Nothing, Type::Nothing)
+1
src/completion/helpers.rs
··· 6 6 #[macro_export] 7 7 macro_rules! console_log { 8 8 ($($arg:tt)*) => { 9 + #[cfg(debug_assertions)] 9 10 web_sys::console::log_1(&wasm_bindgen::JsValue::from_str(&format!($($arg)*))); 10 11 }; 11 12 }