diff --git a/lib/robot.js b/lib/robot.js index c79ef53..f9ee727 100644 --- a/lib/robot.js +++ b/lib/robot.js @@ -82,7 +82,9 @@ var Robot = module.exports = function Robot(opts) { this.running = false; this.work = opts.work || opts.play; - this.work || (this.work = function() { Logger.info("No work yet"); }); + if (!this.work) { + this.work = function() { console.log("No work yet."); } + } this.registerDefaults();