removes some console.log

This commit is contained in:
Romain Beaumont 2015-03-29 18:33:45 +02:00
parent dfb7aacb5a
commit 73ed7e2cdd

View file

@ -249,9 +249,7 @@ describe("client", function() {
}); });
batch.end(function(err) { batch.end(function(err) {
if (err) return done(err); if (err) return done(err);
//console.log(MC_SERVER_JAR);
if (!fs.existsSync(MC_SERVER_JAR)) { if (!fs.existsSync(MC_SERVER_JAR)) {
console.log("The file "+MC_SERVER_JAR+" doesn't exist.");
return done(new Error("The file "+MC_SERVER_JAR+" doesn't exist.")); return done(new Error("The file "+MC_SERVER_JAR+" doesn't exist."));
} }
@ -266,7 +264,6 @@ describe("client", function() {
mcServer.stdout.on('data', onData); mcServer.stdout.on('data', onData);
mcServer.stderr.on('data', onData); mcServer.stderr.on('data', onData);
function onData(data) { function onData(data) {
console.log(data);
buffer += data; buffer += data;
var lines = buffer.split("\n"); var lines = buffer.split("\n");
var len = lines.length - 1; var len = lines.length - 1;