Skip to content

Commit

Permalink
refactor(next-core): apply cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Apr 27, 2023
1 parent 88ac790 commit b048055
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/next-swc/crates/next-core/src/app_structure.rs
Expand Up @@ -381,8 +381,7 @@ async fn get_directory_tree(
// appDir ignores paths starting with an underscore
if !basename.starts_with('_') {
let result = get_directory_tree(dir, page_extensions);
subdirectories
.insert(get_underscore_normalized_path(basename), result);
subdirectories.insert(get_underscore_normalized_path(basename), result);
}
}
// TODO(WEB-952) handle symlinks in app dir
Expand Down

0 comments on commit b048055

Please sign in to comment.