mirror of
https://github.com/denoland/deno.git
synced 2025-02-07 23:06:50 -05:00
todo is resolved
This commit is contained in:
parent
f5fdb69447
commit
56f6cc175c
1 changed files with 0 additions and 2 deletions
|
@ -434,8 +434,6 @@ impl<
|
|||
path
|
||||
};
|
||||
|
||||
// todo(dsherret): we could avoid this metadata call in many cases
|
||||
// if we keep track of it earlier on in resolution
|
||||
let maybe_file_type = self.sys.fs_metadata(&path).map(|m| m.file_type());
|
||||
match maybe_file_type {
|
||||
Ok(FileType::Dir) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue