From ec0538831f3c016b58e4c7002dcaa3c1a00db02c Mon Sep 17 00:00:00 2001 From: Krystian Panek Date: Thu, 26 Jan 2023 11:37:15 +0100 Subject: [PATCH] Minors --- cmd/aem/cli.go | 2 +- project/aem/api.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/aem/cli.go b/cmd/aem/cli.go index d643a449..153bc66b 100644 --- a/cmd/aem/cli.go +++ b/cmd/aem/cli.go @@ -207,7 +207,7 @@ func (c *CLI) printOutputTextIndented(writer *textio.PrefixWriter, value any) { return strings.Compare(fmt.Sprintf("%v", keys[k1].Interface()), fmt.Sprintf("%v", keys[k2].Interface())) < 0 }) for _, k := range keys { - _, _ = writer.WriteString(fmt.Sprintf("%s\n", k)) + _, _ = writer.WriteString(fmt.Sprintf("%s\n", k)) // TODO camelCase to human mv := rv.MapIndex(k).Interface() c.printOutputTextIndented(dw, mv) } diff --git a/project/aem/api.sh b/project/aem/api.sh index 37d497a1..dc151883 100644 --- a/project/aem/api.sh +++ b/project/aem/api.sh @@ -73,7 +73,7 @@ ARCH=$(detectArch) AEM_DIR="aem" HOME_DIR="${AEM_DIR}/home" -DOWNLOAD_DIR="${HOME_DIR}/tmp" +DOWNLOAD_DIR="${HOME_DIR}/opt" BIN_DOWNLOAD_NAME="aemc-cli" BIN_DOWNLOAD_URL="https://github.com/wttech/aemc/releases/download/v${VERSION}/${BIN_DOWNLOAD_NAME}_${OS}_${ARCH}.tar.gz"