adjust rules option when use update option #615

This commit is contained in:
DastInDark
2022-07-02 16:39:46 +09:00
parent bc464b6c6f
commit a3599ca5d0
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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(