do not print anything if no user id was found

This commit is contained in:
Irevoire
2021-10-13 19:38:14 +02:00
committed by marin postma
parent f7bb499c28
commit 9e1bba40f7
2 changed files with 6 additions and 2 deletions

View File

@ -126,7 +126,11 @@ Anonymous telemetry: \"Enabled\""
);
}
}
eprintln!("Unique User ID:\t\"{}\"", analytics);
let analytics = analytics.to_string();
if analytics != "" {
eprintln!("Unique User ID:\t\"{}\"", analytics);
}
eprintln!();