Skip to content

Commit

Permalink
env_remove("RUST_LOG")
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp-CN committed Nov 22, 2024
1 parent f712d6b commit 0921bb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ pub fn repos() -> Result<Vec<String>> {
let path = Utf8Path::new(list_json);
fs::read_to_string(path)?
}
None => duct::cmd!("os-checker", "config", "--list-repos").read()?,
None => duct::cmd!("os-checker", "config", "--list-repos")
.env_remove("RUST_LOG")
.read()?,
};

info!(text);
Expand Down

0 comments on commit 0921bb9

Please sign in to comment.