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:
Steven 2023-08-04 16:14:34 -04:00 committed by GitHub
parent 542c4fc26a
commit e7a3fd9163
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
))