Skip to content
This repository was archived by the owner on Jul 7, 2022. It is now read-only.

Commit 491d33d

Browse files
committed
don't act like you failed when there's nothing to do
1 parent ba13125 commit 491d33d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

template.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ Batch = function(options, run) {
8282
this.out('Found ' + total + ' rows in ' + this.options.collection + ' to process', 1);
8383

8484
if (!total) {
85-
this.out('Nothing found - aborting', 4);
86-
return false;
85+
return true;
8786
}
8887

8988
if (!this.options.step) {

0 commit comments

Comments
 (0)