Rename auto_start to 'auto'

This commit is contained in:
Andrew Stewart 2014-09-22 14:20:26 -07:00
parent 83bf4e3d14
commit 299ade796b
2 changed files with 3 additions and 3 deletions

View File

@ -120,9 +120,9 @@ var Robot = module.exports = function Robot(opts) {
this.commands = opts.commands; this.commands = opts.commands;
} }
var mode = Utils.fetch(Config, 'mode', 'auto_start'); var mode = Utils.fetch(Config, 'mode', 'auto');
if (mode === 'auto_start') { if (mode === 'auto') {
// run on the next tick, to allow for 'work' event handlers to be set up // run on the next tick, to allow for 'work' event handlers to be set up
setTimeout(this.start, 0); setTimeout(this.start, 0);
} }

View File

@ -29,7 +29,7 @@ global.source = function(module) {
var Cylon = source('cylon'); var Cylon = source('cylon');
Cylon.config({ Cylon.config({
auto_start: false mode: "manual"
}); });
Cylon.Logger.setup(false); Cylon.Logger.setup(false);