1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-26 00:59:24 -05:00

chore(npm): fix typo in local.rs (#17186)

This commit is contained in:
Ikko Ashimine 2022-12-26 17:24:25 +09:00 committed by Bartek Iwańczuk
parent 127b68df39
commit d560fd7b11
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750

View file

@ -174,7 +174,7 @@ impl InnerNpmPackageResolver for LocalNpmPackageResolver {
} }
} }
// if doing type resolution, check for the existance of a @types package // if doing type resolution, check for the existence of a @types package
if mode.is_types() && !name.starts_with("@types/") { if mode.is_types() && !name.starts_with("@types/") {
let sub_dir = let sub_dir =
join_package_name(current_folder, &types_package_name(name)); join_package_name(current_folder, &types_package_name(name));