From c7617f453f2cfd04144c18bcd6d6f87b55de4a0a Mon Sep 17 00:00:00 2001 From: pabloalvarezcap <37622818+pabloalvarezcap@users.noreply.github.com> Date: Wed, 18 Apr 2018 16:40:04 +0200 Subject: [PATCH 1/2] Fix issue #136 --- cmd/sup/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/sup/main.go b/cmd/sup/main.go index 3a36928..99c9c6f 100644 --- a/cmd/sup/main.go +++ b/cmd/sup/main.go @@ -194,6 +194,7 @@ func parseArgs(conf *sup.Supfile) (*sup.Network, []*sup.Command, error) { } func resolvePath(path string) string { + if path == "" { return "" } if path[:2] == "~/" { usr, err := user.Current() if err == nil { From 91ca11100adf13bffec6950a017fccf2999bfa71 Mon Sep 17 00:00:00 2001 From: pabloalvarezcap <37622818+pabloalvarezcap@users.noreply.github.com> Date: Wed, 18 Apr 2018 16:53:48 +0200 Subject: [PATCH 2/2] Update main.go --- cmd/sup/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/sup/main.go b/cmd/sup/main.go index 99c9c6f..212860e 100644 --- a/cmd/sup/main.go +++ b/cmd/sup/main.go @@ -194,7 +194,9 @@ func parseArgs(conf *sup.Supfile) (*sup.Network, []*sup.Command, error) { } func resolvePath(path string) string { - if path == "" { return "" } + if path == "" { + return "" + } if path[:2] == "~/" { usr, err := user.Current() if err == nil {