commit | faa33f459e5857b19fc85f54db9a857e045ecf21 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Wed Oct 27 08:37:07 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Wed Oct 27 18:14:08 2021 +0000 |
tree | dc380edce389f27967c1d828eb5041c6cf397c21 | |
parent | f332330f6e8dca3af5fea8217b8d15923a8b4537 [diff] |
internal/frontend: remove ** from glob pattern Go's glob patterns do not treat "**" as meaning "all directories below, recursively." Instead, "**" means the same as "*". So shared/**/*.tmpl is legal but retrieves only files that are one level down from "shared". Currently this isn't a problem, but it would be if a subdirectory of "shared" had its own subdirectory with *.tmpl files. Remove the "**" to make this clear. Change-Id: Ia57212eb55347705af49e2e42cbe9948e14370be Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/359034 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Julie Qiu <julie@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.