From d52a65716c2453d820ccef65a65491026e17ba5f Mon Sep 17 00:00:00 2001 From: Heschi Kreinick Date: Tue, 22 Jun 2021 18:51:27 -0400 Subject: _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 Run-TryBot: Heschi Kreinick TryBot-Result: Go Bot Reviewed-by: Steve Traut --- _content/doc/tutorial/call-module-code.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_content/doc/tutorial/call-module-code.html') 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:
-$ go mod edit -replace=example.com/greetings=../greetings
+$ go mod edit -replace example.com/greetings=../greetings
 

-- cgit v1.3