Skip to content

Commit b6f22db

Browse files
committed
rename
1 parent 8dfa926 commit b6f22db

File tree

1 file changed

+2
-2
lines changed
  • crates/artifacts/solc/src/remappings

1 file changed

+2
-2
lines changed

crates/artifacts/solc/src/remappings/find.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ fn find_remapping_candidates(
307307

308308
// scan all entries in the current dir
309309
let mut search = Vec::new();
310-
for (subdir, file_type, is_symlink) in read_dir(current_dir) {
310+
for (subdir, file_type, path_is_symlink) in read_dir(current_dir) {
311311
// found a solidity file directly the current dir
312312
if !is_candidate && file_type.is_file() && subdir.extension() == Some("sol".as_ref()) {
313313
is_candidate = true;
@@ -320,7 +320,7 @@ fn find_remapping_candidates(
320320
// ├── dep/node_modules
321321
// ├── symlink to `my-package`
322322
// ```
323-
if file_type.is_symlink() || is_symlink {
323+
if file_type.is_symlink() || path_is_symlink {
324324
if let Ok(target) = utils::canonicalize(&subdir) {
325325
if !visited_symlink_dirs.lock().unwrap().insert(target.clone()) {
326326
// short-circuiting if we've already visited the symlink

0 commit comments

Comments
 (0)