Skip to content

Commit

Permalink
Homepage|Build Repository: Always consider a build failure a major issue
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Feb 15, 2012
1 parent 68587a4 commit 2a7dfec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/plugins/buildrepository/buildrepository.php
Expand Up @@ -1082,7 +1082,7 @@ public function execute($args=NULL)
$issues = $errors + $warnings;

// Determine issue level (think defcon).
if($errors > 0)
if($errors > 0 || !$pack->hasDownloadUri())
$issueLevel = 'major';
else if($warnings > 0)
$issueLevel = 'minor';
Expand Down

0 comments on commit 2a7dfec

Please sign in to comment.