mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Don't print "Linting your app" unless there are linting messages to report
This commit is contained in:
@@ -703,8 +703,11 @@ _.extend(AppRunner.prototype, {
|
||||
var warnings = new buildmessage._MessageSet(bundleResult.warnings);
|
||||
warnings.merge(self.projectContext._getLintingMessagesForLocalPackages());
|
||||
|
||||
runLog.log(
|
||||
'Linting your app.\n\n' + warnings.formatMessages(), { arrow: true })
|
||||
if (warnings.hasMessages()) {
|
||||
runLog.log(
|
||||
'Linting your app.\n\n' + warnings.formatMessages(),
|
||||
{ arrow: true });
|
||||
}
|
||||
}
|
||||
|
||||
// Start watching for changes for files if requested. There's no
|
||||
|
||||
Reference in New Issue
Block a user