From 374ebd51cec69d07347d38c7b67e8224bf32a2f6 Mon Sep 17 00:00:00 2001 From: Jon Crenshaw Date: Sat, 23 Apr 2016 20:05:11 -0700 Subject: [PATCH] Fix "[object Object]__" in test successes output --- lib/deploy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/deploy.js b/lib/deploy.js index 17e7e4a..bb787b9 100644 --- a/lib/deploy.js +++ b/lib/deploy.js @@ -128,7 +128,7 @@ function reportDeployResultDetails(details, logger, verbose) { logger.log('Test Successes:'); } testSuccesses.forEach(function(s) { - logger.log(' - ' + (s.namespace ? s.namespace + '__' : '') + s.name + '.' + s.methodName); + logger.log(' - ' + (typeof s.namespace === 'string' ? s.namespace + '__' : '') + s.name + '.' + s.methodName); }); } var testFailures = asArray(testResult.failures) || [];