* [misc] adjust file exists check for repo sync.
This commit is contained in:
+1
-1
@@ -1362,7 +1362,7 @@ class repoZen extends repo
|
||||
protected function syncLocalCommit(object $repo): string
|
||||
{
|
||||
$logFile = realPath($this->app->getTmpRoot() . $this->config->repo->repoSyncLog->logFilePrefix . strtolower($repo->SCM) . ".{$repo->name}.log");
|
||||
if($logFile)
|
||||
if(file_exists($logFile))
|
||||
{
|
||||
$content = file($logFile);
|
||||
foreach($content as $line)
|
||||
|
||||
Reference in New Issue
Block a user