From 53f102091541e1224817572cd3da55dfe49abb5c Mon Sep 17 00:00:00 2001 From: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:15:05 +1100 Subject: [PATCH] import path --- cmd/sysl/sysl.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/sysl/sysl.go b/cmd/sysl/sysl.go index 171b3a0f..1cbc50b7 100644 --- a/cmd/sysl/sysl.go +++ b/cmd/sysl/sysl.go @@ -4,6 +4,7 @@ import ( "fmt" "io" "os" + "path" "strings" "github.com/anz-bank/sysl/pkg/arrai" @@ -39,7 +40,7 @@ func main3(args []string, fs afero.Fs, logger *logrus.Logger, stdin io.Reader) e if err != nil { return err } - + for i, val := range runner.modules { runner.modules[i] = path.Clean(val) }