From 4c6529ac69e33804ecd9b9209c50cb950294a62d Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Thu, 28 Sep 2023 08:44:01 -0700 Subject: [PATCH] fixup! ci: Fixes --- ci/fmt.sh | 2 +- examples/chat/index.html | 2 +- make.sh | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ci/fmt.sh b/ci/fmt.sh index b34f1438..9ef9e613 100755 --- a/ci/fmt.sh +++ b/ci/fmt.sh @@ -13,7 +13,7 @@ main() { --print-width=120 \ --no-semi \ --trailing-comma=all \ - --loglevel=warn \ + --log-level=warn \ --arrow-parens=avoid \ $(git ls-files "*.yml" "*.md" "*.js" "*.css" "*.html") shfmt -i 2 -w -s -sr $(git ls-files "*.sh") diff --git a/examples/chat/index.html b/examples/chat/index.html index 76ae8370..64edd286 100644 --- a/examples/chat/index.html +++ b/examples/chat/index.html @@ -1,4 +1,4 @@ - + diff --git a/make.sh b/make.sh index 578203cd..8eb7b2fa 100755 --- a/make.sh +++ b/make.sh @@ -4,13 +4,13 @@ set -eu cd "$(dirname "$0")" fmt() { - go mod tidy - gofmt -s -w . - goimports -w "-local=$(go list -m)" . + go mod tidy + gofmt -s -w . + goimports -w "-local=$(go list -m)" . } -if ! command -v wasmbrowsertest >/dev/null; then - go install github.com/agnivade/wasmbrowsertest@latest +if ! command -v wasmbrowsertest > /dev/null; then + go install github.com/agnivade/wasmbrowsertest@latest fi fmt