From c1d6065f7d5d0bc02e21310e94b760d8cb93b226 Mon Sep 17 00:00:00 2001 From: icechen Date: Sun, 9 Jan 2022 17:50:16 +0800 Subject: [PATCH] update --- config_handler/config_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config_handler/config_handler.go b/config_handler/config_handler.go index e24e2d9..5fc9bca 100644 --- a/config_handler/config_handler.go +++ b/config_handler/config_handler.go @@ -81,7 +81,7 @@ func (p *plugin) Find(ctx context.Context, req *config.Request) (*drone.Config, return &drone.Config{ Data: "", Kind: "", - }, nil + }, errors.New("skipping build") } retData := destinationApi + "\n\n" + destinationService n := strings.LastIndex(retData, "---")