From f501f85eb8bf7a1360fce4776ff3fa4f33987133 Mon Sep 17 00:00:00 2001 From: Vihang Mehta Date: Wed, 10 Feb 2021 10:03:28 -0800 Subject: [PATCH] Update golint install instructions Summary: These are the instructions from https://github.com/golang/lint. The fetch location changed to `golang.org/x/lint/golint` from `github.com/golang/lint/golint`. `-u` tells go to update the package and its deps if they exist. `-u` Shouldn't strictly be necessary, but figured we might as well follow the instructions from `golint`. Test Plan: Enable golint without having it installed. Ensure that the install instructions now show the new location. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D21552 --- src/lint/linter/ArcanistGoLintLinter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lint/linter/ArcanistGoLintLinter.php b/src/lint/linter/ArcanistGoLintLinter.php index 419acf41..7d3fe6b1 100644 --- a/src/lint/linter/ArcanistGoLintLinter.php +++ b/src/lint/linter/ArcanistGoLintLinter.php @@ -29,7 +29,7 @@ final class ArcanistGoLintLinter extends ArcanistExternalLinter { public function getInstallInstructions() { return pht( 'Install Golint using `%s`.', - 'go get github.com/golang/lint/golint'); + 'go get -u golang.org/x/lint/golint'); } public function shouldExpectCommandErrors() {