File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -608,7 +608,8 @@ impl App {
608608 match get ( url) . call ( ) {
609609 Ok ( mut res) => {
610610 let mut dst = File :: create ( Path :: new ( "./encoded_rules.yml" ) ) . unwrap ( ) ;
611- dst. write_all ( res. body_mut ( ) . read_to_string ( ) . unwrap ( ) . as_bytes ( ) ) . unwrap ( ) ;
611+ dst. write_all ( res. body_mut ( ) . read_to_string ( ) . unwrap ( ) . as_bytes ( ) )
612+ . unwrap ( ) ;
612613 write_color_buffer (
613614 & BufferWriter :: stdout ( ColorChoice :: Always ) ,
614615 get_writable_color (
@@ -631,7 +632,8 @@ impl App {
631632 Ok ( mut res) => {
632633 let mut dst =
633634 File :: create ( Path :: new ( "./rules_config_files.txt" ) ) . unwrap ( ) ;
634- dst. write_all ( res. body_mut ( ) . read_to_string ( ) . unwrap ( ) . as_bytes ( ) ) . unwrap ( ) ;
635+ dst. write_all ( res. body_mut ( ) . read_to_string ( ) . unwrap ( ) . as_bytes ( ) )
636+ . unwrap ( ) ;
635637 write_color_buffer (
636638 & BufferWriter :: stdout ( ColorChoice :: Always ) ,
637639 get_writable_color (
You can’t perform that action at this time.
0 commit comments