作者 刘锟

采集

@@ -261,7 +261,11 @@ class HtmlCollect extends Command @@ -261,7 +261,11 @@ class HtmlCollect extends Command
261 //不是相对路径,不下载 261 //不是相对路径,不下载
262 continue; 262 continue;
263 } 263 }
264 - $vcs = $vcs['path']; 264 +
  265 + $vcs = $vcs_arr['path'] ?? '';
  266 + if (!$vcs) {
  267 + continue;
  268 + }
265 269
266 $source_info = CollectSource::where('project_id', $project_id)->where('origin', $vcs)->first(); 270 $source_info = CollectSource::where('project_id', $project_id)->where('origin', $vcs)->first();
267 if ($source_info) { 271 if ($source_info) {