mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 20:10:55 +01:00
Never hide file contents if they have comments.
Summary: Links to comments were not working because file was hidden after it was deleted. Test Plan: Tested that comment anchors were working correctly for deleted files. Tested that generated files were still hidden. Reviewed By: epriestley Reviewers: epriestley CC: jungejason, aran, epriestley Differential Revision: 257
This commit is contained in:
parent
e313b1d64a
commit
d5dfa5faf5
1 changed files with 1 additions and 1 deletions
|
@ -816,7 +816,7 @@ EOSYNTHETIC;
|
|||
}
|
||||
|
||||
$shield = null;
|
||||
if ($range_start === null && $range_len === null) {
|
||||
if ($range_start === null && $range_len === null && !$this->comments) {
|
||||
if ($this->isGenerated()) {
|
||||
$shield = $this->renderShield(
|
||||
"This file contains generated code, which does not normally need ".
|
||||
|
|
Loading…
Reference in a new issue