From 6239317edcbb6db7c28b319b44578d5deb37fe23 Mon Sep 17 00:00:00 2001 From: Pranav Gaikwad Date: Mon, 22 Apr 2024 10:52:34 -0400 Subject: [PATCH] :bug: when no dependencies are found do not return an error (#583) (#584) Fixes #582 Signed-off-by: Pranav Gaikwad --- cmd/dep/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/dep/main.go b/cmd/dep/main.go index 79e36abf..1dd1ca29 100644 --- a/cmd/dep/main.go +++ b/cmd/dep/main.go @@ -152,7 +152,7 @@ func main() { if depsFlat == nil && depsTree == nil { errLog.Info("failed to get dependencies from all given providers") - os.Exit(1) + os.Exit(0) } var b []byte