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">
This commit is contained in:
parent
542c4fc26a
commit
e7a3fd9163
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
))
|
||||
|
|
Loading…
Reference in a new issue