fix meteor run with no errors

This commit is contained in:
David Glasser
2015-06-26 18:26:11 -07:00
parent 11af9d88b0
commit 288fbbd595

View File

@@ -705,7 +705,7 @@ _.extend(AppRunner.prototype, {
if (self.lint) {
var warnings = bundleResult.warnings;
if (warnings.hasMessages()) {
if (warnings && warnings.hasMessages()) {
runLog.log(
'Linting your app.\n\n' + warnings.formatMessages(),
{ arrow: true });