Remove redundant dereferences

This commit is contained in:
Roey Darwish Dror
2021-09-02 07:27:09 +03:00
parent bde3600b9a
commit a39b4f846c
7 changed files with 13 additions and 14 deletions

View File

@@ -99,7 +99,7 @@ pub fn run_micro(run_type: RunType) -> Result<()> {
print_separator("micro");
let stdout = run_type.execute(&micro).args(&["-plugin", "update"]).string_output()?;
std::io::stdout().write_all(&stdout.as_bytes())?;
std::io::stdout().write_all(stdout.as_bytes())?;
if stdout.contains("Nothing to install / update") || stdout.contains("One or more plugins installed") {
Ok(())