From 86ea474c9ab25fb0b5116d1ca3a3c1f756ac7eb7 Mon Sep 17 00:00:00 2001 From: marvzhang Date: Sun, 19 Apr 2020 17:26:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=87=AA=E5=8A=A8=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/services/spider_handler/spider.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/services/spider_handler/spider.go b/backend/services/spider_handler/spider.go index 5c1adf3a..08934f2f 100644 --- a/backend/services/spider_handler/spider.go +++ b/backend/services/spider_handler/spider.go @@ -210,6 +210,11 @@ func (s *SpiderSync) InstallDeps() { continue } + // no dep install executable found, skip + if !utils.Exists(l.DepExecutablePath) { + continue + } + // lock installLockMap.Store(key, true)