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) || [];