From ceebaad4b3c23b0184e06333fe8f489a577c3446 Mon Sep 17 00:00:00 2001 From: "Anuraag (Rag) Agrawal" Date: Fri, 10 Jan 2025 14:50:02 +0900 Subject: [PATCH] Document that go tool is not supported (#3) --- .golangci.yml | 2 +- README.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 2faed57..eb98522 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -27,7 +27,7 @@ linters-settings: sections: - standard - default - - prefix(github.com/wasilibs/go-prettier) + - prefix(github.com/wasilibs/go-shellcheck) gosec: config: G306: "0644" diff --git a/README.md b/README.md index 387c57e..5ce6979 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,9 @@ To avoid installation entirely, it can be convenient to use `go run` $ go run github.com/wasilibs/go-shellcheck/cmd/shellcheck@latest *.sh ``` +_Due to [potential build breakage](https://github.com/golang/go/issues/71192) unrelated to this project, +`go tool` is not supported._ + Note that due to the sandboxing of the filesystem when using Wasm, currently only files that descend from the current directory when executing the tool are accessible to it, i.e., `../sql/my.sh` or `/separate/root/my.sh` will not be found.