File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
crates/chat-cli/src/cli/chat/cli Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -74,26 +74,24 @@ impl LogdumpArgs {
7474 let mut log_count = 0 ;
7575
7676 // Only collect qchat.log (keeping current implementation logic)
77- log_count += self . collect_qchat_log ( & mut zip, & logs_dir) ?;
77+ log_count += Self :: collect_qchat_log ( & mut zip, & logs_dir) ?;
7878
7979 zip. finish ( ) ?;
8080 Ok ( log_count)
8181 }
8282
8383 fn collect_qchat_log (
84- & self ,
8584 zip : & mut ZipWriter < std:: fs:: File > ,
8685 logs_dir : & Path ,
8786 ) -> Result < usize , Box < dyn std:: error:: Error > > {
8887 let qchat_log_path = logs_dir. join ( "qchat.log" ) ;
8988 if qchat_log_path. exists ( ) {
90- return self . add_log_file_to_zip ( & qchat_log_path, zip, "logs" ) ;
89+ return Self :: add_log_file_to_zip ( & qchat_log_path, zip, "logs" ) ;
9190 }
9291 Ok ( 0 )
9392 }
9493
9594 fn add_log_file_to_zip (
96- & self ,
9795 path : & Path ,
9896 zip : & mut ZipWriter < std:: fs:: File > ,
9997 prefix : & str ,
You can’t perform that action at this time.
0 commit comments