Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15420653
D10091.id24268.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
667 B
Referenced Files
None
Subscribers
None
D10091.id24268.diff
View Options
diff --git a/src/applications/harbormaster/controller/HarbormasterBuildViewController.php b/src/applications/harbormaster/controller/HarbormasterBuildViewController.php
--- a/src/applications/harbormaster/controller/HarbormasterBuildViewController.php
+++ b/src/applications/harbormaster/controller/HarbormasterBuildViewController.php
@@ -178,6 +178,12 @@
$start = 1;
}
}
+
+ if (count($lines) === 1 && trim($lines[0]) === '') {
+ // Prevent Harbormaster from showing empty build logs.
+ continue;
+ }
+
$log_view = new ShellLogView();
$log_view->setLines($lines);
$log_view->setStart($start);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 22, 3:51 PM (2 d, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7717185
Default Alt Text
D10091.id24268.diff (667 B)
Attached To
Mode
D10091: Hide empty build logs
Attached
Detach File
Event Timeline
Log In to Comment