Made jshint and travis happy.

This commit is contained in:
Sebastian Tiedtke
2013-01-15 11:34:17 -08:00
parent 2662bdeb30
commit f8ee9f3e1e
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ build(appRoot, function(err) {
};
var onExit = function(code, traceDir) {
console.log("Instruments exited " + (code == 0 ? "cleanly" : "with code " + code));
console.log("Instruments exited " + (code === 0 ? "cleanly" : "with code " + code));
if (traceDir) {
rimraf(traceDir, function() {
console.log("Deleted tracedir");

View File

@@ -200,7 +200,7 @@ Instruments.prototype.doExit = function() {
Instruments.prototype.defaultExitHandler = function(code, traceDir) {
console.log("Instruments exited with code " + code + " and trace dir " + traceDir);
}
};
Instruments.prototype.errorStreamHandler = function(output) {
console.log(("[INST STDERR] " + output).yellow);