Skip to content

Commit

Permalink
avoid cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Apr 26, 2023
1 parent a329c74 commit e0ef757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-swc/crates/next-core/src/app_structure.rs
Expand Up @@ -275,7 +275,7 @@ async fn get_directory_tree(
if !basename.starts_with('_') {
let result = get_directory_tree(dir, page_extensions);
subdirectories
.insert(get_underscore_normalized_path(basename).to_string(), result);
.insert(get_underscore_normalized_path(basename), result);
}
}
// TODO handle symlinks in app dir
Expand Down

0 comments on commit e0ef757

Please sign in to comment.