From 32d8c5fb66dd4163339162cef0271699a66801db Mon Sep 17 00:00:00 2001 From: dawn <90008@gaze.systems> Date: Thu, 18 Dec 2025 23:08:04 +0300 Subject: [PATCH] remove unused imports --- src/cmd/ls.rs | 2 -- src/lib.rs | 6 +----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/cmd/ls.rs b/src/cmd/ls.rs index 9ea5bea..e3a03a9 100644 --- a/src/cmd/ls.rs +++ b/src/cmd/ls.rs @@ -1,5 +1,4 @@ use std::{ - borrow::Cow, sync::Arc, time::{SystemTime, UNIX_EPOCH}, }; @@ -11,7 +10,6 @@ use nu_protocol::{ Category, ListStream, PipelineData, Record, ShellError, Signature, SyntaxShape, Type, Value, engine::{Command, EngineState, Stack}, }; -use wasm_bindgen::JsValue; #[derive(Clone)] pub struct Ls; diff --git a/src/lib.rs b/src/lib.rs index d19a108..43756ed 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,5 @@ use async_lock::{RwLock, RwLockReadGuard, RwLockUpgradableReadGuard, RwLockWriteGuard}; use futures::FutureExt; -use jacquard::chrono; use js_sys::Promise; use miette::Report; use nu_cmd_base::hook::eval_hook; @@ -15,9 +14,7 @@ use nu_protocol::{ use std::{ io::Cursor, sync::{Arc, OnceLock}, - time::UNIX_EPOCH, }; -use vfs::VfsError; use wasm_bindgen::prelude::*; use wasm_bindgen_futures::future_to_promise; @@ -36,11 +33,10 @@ use crate::{ default_context::add_shell_command_context, error::format_error, globals::{ - InterruptBool, apply_pending_deltas, current_time, get_pwd, print_to_console, set_interrupt, + InterruptBool, apply_pending_deltas, get_pwd, print_to_console, set_interrupt, }, }; use error::CommandError; -use globals::get_vfs; #[wasm_bindgen] extern "C" { -- 2.51.2