作者 刘锟

合并分支 'akun' 到 'master'

Akun



查看合并请求 !62
@@ -306,6 +306,9 @@ class HtmlCollect extends Command @@ -306,6 +306,9 @@ class HtmlCollect extends Command
306 if (!$vcs) { 306 if (!$vcs) {
307 continue; 307 continue;
308 } 308 }
  309 + if (strpos($vcs, '.') === false) {
  310 + continue;
  311 + }
309 312
310 $source_info = CollectSource::where('project_id', $project_id)->where('origin', $vcs)->first(); 313 $source_info = CollectSource::where('project_id', $project_id)->where('origin', $vcs)->first();
311 if ($source_info) { 314 if ($source_info) {
@@ -305,6 +305,9 @@ class HtmlLanguageCollect extends Command @@ -305,6 +305,9 @@ class HtmlLanguageCollect extends Command
305 if (!$vcs) { 305 if (!$vcs) {
306 continue; 306 continue;
307 } 307 }
  308 + if (strpos($vcs, '.') === false) {
  309 + continue;
  310 + }
308 311
309 $source_info = CollectSource::where('project_id', $project_id)->where('origin', $vcs)->first(); 312 $source_info = CollectSource::where('project_id', $project_id)->where('origin', $vcs)->first();
310 if ($source_info) { 313 if ($source_info) {