Skip to content

Commit

Permalink
fixup! ci: Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nhooyr committed Sep 28, 2023
1 parent b13e052 commit 4c6529a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ci/fmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion examples/chat/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en-CA">
<head>
<meta charset="UTF-8" />
Expand Down
10 changes: 5 additions & 5 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4c6529a

Please sign in to comment.