mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
parent
2027d98a8e
commit
0204071e30
4 changed files with 20 additions and 1 deletions
|
@ -524,8 +524,9 @@ impl ConfigFile {
|
|||
if checked.insert(ancestor.to_path_buf()) {
|
||||
for config_filename in CONFIG_FILE_NAMES {
|
||||
let f = ancestor.join(config_filename);
|
||||
match ConfigFile::read(f) {
|
||||
match ConfigFile::read(&f) {
|
||||
Ok(cf) => {
|
||||
log::debug!("Config file found at '{}'", f.display());
|
||||
return Ok(Some(cf));
|
||||
}
|
||||
Err(e) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue