Unverified Commit e7a3fd91 authored by Steven's avatar Steven Committed by GitHub

chore(lint): fix lint warning about unused import `current_dir` (#53587)

<img width="660" alt="image" src="https://github.com/vercel/next.js/assets/229881/a9cc7270-7aee-4258-b30e-b371d9924a64">
parent 542c4fc2
......@@ -32,7 +32,7 @@ DEALINGS IN THE SOFTWARE.
#![deny(clippy::all)]
#![feature(box_patterns)]
use std::{cell::RefCell, env::current_dir, path::PathBuf, rc::Rc, sync::Arc};
use std::{cell::RefCell, path::PathBuf, rc::Rc, sync::Arc};
use auto_cjs::contains_cjs;
use either::Either;
......@@ -158,7 +158,7 @@ where
Either::Left(turbopack_binding::swc::custom_transform::relay::relay(
config,
file.name.clone(),
current_dir().unwrap(),
std::env::current_dir().unwrap(),
opts.pages_dir.clone(),
None,
))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment