mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
chore: fix linting
This commit is contained in:
parent
6a93485ae2
commit
3c5b5d0710
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ fn discover_npmrc(
|
|||
// 3. Try `.npmrc` in cwd if no package.json or deno.json(c) was found
|
||||
if let Some(cwd) = cwd {
|
||||
if maybe_package_json_path.is_none() && maybe_deno_json_path.is_none() {
|
||||
if let Some((source, path)) = try_to_read_npmrc(&cwd)? {
|
||||
if let Some((source, path)) = try_to_read_npmrc(cwd)? {
|
||||
return try_to_parse_npmrc(source, &path).map(|r| (r, Some(path)));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue