You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
println!(" Run `stackmuncher{} --public_name \"\" --public_contact \"\"` to remove your public details and make your profile anonymous.", std::env::consts::EXE_SUFFIX);
85
88
}
86
-
87
-
/// A temporary stub for `view_config` command.
88
-
fnview_config(config:AppConfig){
89
-
// prepare values needed in println!() macros to prevent line wrapping in the code
90
-
let pub_key = ReportSignature::get_public_key(&config.user_key_pair);
91
-
let reports = config
92
-
.lib_config
93
-
.report_dir
94
-
.as_ref()
95
-
.expect("config.report_dir is not set. It's a bug.")
96
-
.absolutize()
97
-
.expect("Cannot convert config.report_dir to absolute path. It's a bug.")
98
-
.to_string_lossy()
99
-
.to_string();
100
-
let rules = config
101
-
.lib_config
102
-
.code_rules_dir
103
-
.absolutize()
104
-
.expect("Cannot convert config.code_rules_dir to absolute path. It's a bug.")
105
-
.to_string_lossy()
106
-
.to_string();
107
-
let pub_contact = config
108
-
.public_contact
109
-
.as_ref()
110
-
.unwrap_or(&"not set".to_owned())
111
-
.to_string();
112
-
let config_file = config
113
-
.config_file_path
114
-
.absolutize()
115
-
.expect("Cannot convert config.config_file_path to absolute path. It's a bug.")
0 commit comments