From 402481e1bcaaf76db62f43dc090a4f769c8ab2f8 Mon Sep 17 00:00:00 2001 From: Duco van Amstel Date: Wed, 3 Jul 2019 10:41:37 +0100 Subject: [PATCH] Ignore empty config flag --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index e88246a..dffb30e 100644 --- a/main.go +++ b/main.go @@ -89,7 +89,7 @@ func executeRunCommand(args *runArgs) error { args.logger.WithError(err).Error("Failed to determine the current working directory") return err } - if !filepath.IsAbs(args.config) { + if args.config != "" && !filepath.IsAbs(args.config) { args.config = filepath.Join(cwd, args.config) } if !filepath.IsAbs(args.projectPath) {