diff options
-rwxr-xr-x | ag | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -154,8 +154,8 @@ Ag::Utils.proc_count = $options.jobs def do_full abort "Wrong argument type: #{$options.argmode.to_s}" unless $options.argmode == :dir - do_delete_index(ignore_missing: true) unless $options.readonly - do_create_index(ignore_exists: true) + do_delete_index(ignore_missing: true, _raise: true) unless $options.readonly + do_create_index(ignore_exists: true, _raise: true) messages = $maildir.list(:cur) @@ -180,7 +180,7 @@ end def do_incremental abort "Wrong argument type: #{$options.argmode.to_s}" unless $options.argmode == :dir messages = $maildir.list(:new) - do_create_index(ignore_exists: true) + do_create_index(ignore_exists: true, _raise: true) opts = { :in_processes => Ag::Utils.proc_count, |