adjust rules option when use update option #615
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ impl App {
|
||||
}
|
||||
|
||||
if configs::CONFIG.read().unwrap().args.update_rules {
|
||||
match UpdateRules::update_rules() {
|
||||
match UpdateRules::update_rules(configs::CONFIG.read().unwrap().args.rules.to_str().unwrap()) {
|
||||
Ok(output) => {
|
||||
if output != "You currently have the latest rules." {
|
||||
write_color_buffer(
|
||||
|
||||
Reference in New Issue
Block a user