Skip to content

Commit

Permalink
Merge pull request #26 from laravel-admin-extensions/analysis-or1lJN
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
jxlwqq authored Oct 11, 2021
2 parents 7c2ddb4 + 9a2dc8d commit 4852ea0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/LogViewer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ public function fetch($seek = 0, $lines = 20, $buffer = 4096)
{
if (!file_exists($this->filePath) || is_dir($this->filePath)) {
$this->pageOffset = ['start' => 0, 'end' => 0];

return $this->parseLog('');
}
$f = fopen($this->filePath, 'rb');
Expand Down

0 comments on commit 4852ea0

Please sign in to comment.