* [misc] adjust repo review locate.

This commit is contained in:
caoyanyi
2025-03-26 11:22:18 +08:00
committed by 田淑杰
parent cd1aa5c709
commit 44066f288f
+1 -1
View File
@@ -13,7 +13,7 @@ declare(strict_types=1);
namespace zin;
$inModal = isInModal() || !empty($fromModal);
$entry = count($diffs) ? $diffs[0]->fileName : '';
$entry = count($diffs) && empty($entry) ? $diffs[0]->fileName : $entry;
$currentEntry = $this->repo->encodePath($entry);
$fileInfo = $entry ? pathinfo($entry) : array();
$showBug = isset($showBug) ? $showBug : 0;