作者 刘锟

update

@@ -311,6 +311,10 @@ class HtmlCollect extends Command @@ -311,6 +311,10 @@ class HtmlCollect extends Command
311 if (strpos($vcs, '.') === false) { 311 if (strpos($vcs, '.') === false) {
312 continue; 312 continue;
313 } 313 }
  314 + $path_arr = explode('.', $vcs);
  315 + if(end($path_arr) == 'html'){
  316 + continue;
  317 + }
314 318
315 $source_info = CollectSource::where('project_id', $project_id)->where('origin', $vcs)->first(); 319 $source_info = CollectSource::where('project_id', $project_id)->where('origin', $vcs)->first();
316 if ($source_info) { 320 if ($source_info) {
@@ -318,6 +318,10 @@ class HtmlLanguageCollect extends Command @@ -318,6 +318,10 @@ class HtmlLanguageCollect extends Command
318 if (strpos($vcs, '.') === false) { 318 if (strpos($vcs, '.') === false) {
319 continue; 319 continue;
320 } 320 }
  321 + $path_arr = explode('.', $vcs);
  322 + if(end($path_arr) == 'html'){
  323 + continue;
  324 + }
321 325
322 $source_info = CollectSource::where('project_id', $project_id)->where('origin', $vcs)->first(); 326 $source_info = CollectSource::where('project_id', $project_id)->where('origin', $vcs)->first();
323 if ($source_info) { 327 if ($source_info) {