diff options
| author | Heschi Kreinick <heschi@google.com> | 2021-06-22 18:51:27 -0400 |
|---|---|---|
| committer | Heschi Kreinick <heschi@google.com> | 2021-06-23 15:10:42 +0000 |
| commit | d52a65716c2453d820ccef65a65491026e17ba5f (patch) | |
| tree | 1e5d90a1a55dabe2b1fe74ebe2d652a237f2b747 /_content/doc/tutorial/call-module-code.html | |
| parent | 050e222eac9eb10f5f5457af166c60a2cfb68c0a (diff) | |
| download | go-x-website-d52a65716c2453d820ccef65a65491026e17ba5f.tar.xz | |
_content/doc: fix go mod edit for PowerShell
"-replace=foo.com=bar.com" triggers this bug in PowerShell:
https://github.com/PowerShell/PowerShell/issues/6291
The go command accepts "-replace foo.com=bar.com" just fine. Use that
instead.
Fixes #44924.
Change-Id: I854ea86282db425a2707c641b0500208b4869870
Reviewed-on: https://go-review.googlesource.com/c/website/+/330229
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Steve Traut <straut@google.com>
Diffstat (limited to '_content/doc/tutorial/call-module-code.html')
| -rw-r--r-- | _content/doc/tutorial/call-module-code.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_content/doc/tutorial/call-module-code.html b/_content/doc/tutorial/call-module-code.html index 1a63d8ce..fa4628ad 100644 --- a/_content/doc/tutorial/call-module-code.html +++ b/_content/doc/tutorial/call-module-code.html @@ -143,7 +143,7 @@ func main() { command: <pre> -$ go mod edit -replace=example.com/greetings=../greetings +$ go mod edit -replace example.com/greetings=../greetings </pre> <p> |
