Merge pull request #825 from Rio/log-analytics-usage

feat(analytics): log if analytics are enabled
This commit is contained in:
Clément Renault 2020-07-02 15:02:19 +02:00 committed by GitHub
commit b2124822a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,6 +129,15 @@ pub fn print_launch_resume(opt: &Opt, data: &Data) {
} }
); );
eprintln!(
"Amplitude Analytics:\t{:?}",
if !opt.no_analytics {
"Enabled"
} else {
"Disabled"
}
);
eprintln!(); eprintln!();
if data.api_keys.master.is_some() { if data.api_keys.master.is_some() {