mirror of
https://github.com/appium/appium.git
synced 2026-02-12 04:50:08 -06:00
Made jshint and travis happy.
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user