mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 05:12:41 +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;
|
$shield = null;
|
||||||
if ($range_start === null && $range_len === null) {
|
if ($range_start === null && $range_len === null && !$this->comments) {
|
||||||
if ($this->isGenerated()) {
|
if ($this->isGenerated()) {
|
||||||
$shield = $this->renderShield(
|
$shield = $this->renderShield(
|
||||||
"This file contains generated code, which does not normally need ".
|
"This file contains generated code, which does not normally need ".
|
||||||
|
|
Loading…
Reference in a new issue