From 09a695d1d9f9b6c49b87321a475a1106e8fbced9 Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Fri, 27 Sep 2024 17:21:19 +0000 Subject: [PATCH] add missing cfg file --- cli_test.go | 2 +- examples/config/file.jx.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 examples/config/file.jx.yaml diff --git a/cli_test.go b/cli_test.go index 2e2b8cd..512f4d8 100644 --- a/cli_test.go +++ b/cli_test.go @@ -109,7 +109,7 @@ func TestCliConfigCommand(t *testing.T) { t.Skip("cli not built") } - yaml, cliErr := exec.Command("./jx", "config", "file://examples/config/file.cfg.jx.yaml").Output() + yaml, cliErr := exec.Command("./jx", "config", "file://examples/config/file.jx.yaml").Output() if cliErr != nil { slog.Info("Debug CLI error", "error", cliErr, "stderr", cliErr.(*exec.ExitError).Stderr) } diff --git a/examples/config/file.jx.yaml b/examples/config/file.jx.yaml new file mode 100644 index 0000000..497e4ce --- /dev/null +++ b/examples/config/file.jx.yaml @@ -0,0 +1,4 @@ +configurations: +- name: myfiles + values: + prefix: /home/testuser