File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/artifacts/solc/src/remappings Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments