removed console.log

v1.18.x
Julian Lam 11 years ago
parent fec3ae7e5e
commit fd0622a1a3

@ -16,12 +16,9 @@ var mkdirp = require('mkdirp'),
Templates.compile = function(callback) { Templates.compile = function(callback) {
if (cluster.isWorker && process.env.cluster_setup !== 'true') { if (cluster.isWorker && process.env.cluster_setup !== 'true') {
return setTimeout(function() { return setTimeout(function() {
console.log('FAKING TEMPLATE COMPILE');
emitter.emit('templates:compiled'); emitter.emit('templates:compiled');
if (callback) callback(); if (callback) callback();
}, 1000); }, 1000);
} else {
console.log('REAL TEMPLATE COMPILE');
} }
var baseTemplatesPath = nconf.get('base_templates_path'), var baseTemplatesPath = nconf.get('base_templates_path'),

Loading…
Cancel
Save