Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added some friendly loading message
  • Loading branch information
markni committed May 29, 2012
1 parent d87121d commit aeba1a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Expand Up @@ -38,6 +38,8 @@ var ElasticSearchExport = function () {

this.main = function () {
target.count(countCallback);
console.log("Loading data...");
console.log("It may takes a minutes or two, it's a good time to take out the garbage.");

}

Expand Down Expand Up @@ -82,7 +84,7 @@ var ElasticSearchExport = function () {
console.error("Could not open file: %s", err);
process.exit(1);
} else {
console.log("\n The file was saved to " + f_name);
console.log("\nDone! The file was saved to " + f_name);
}
});
}
Expand Down

0 comments on commit aeba1a5

Please sign in to comment.