Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

Commit 2804f84

Browse files
committed
Use go tool vet
As of 1.10, `go vet` no longer works correctly on individual files. As such, we use `go tool vet` instead. See golang/go#23916 for more information.
1 parent 93c81ab commit 2804f84

File tree

1 file changed

+1
-1
lines changed
  • lib/Code/TidyAll/Plugin/Go

1 file changed

+1
-1
lines changed

lib/Code/TidyAll/Plugin/Go/Vet.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use Moo;
88

99
extends 'Code::TidyAll::Plugin';
1010

11-
sub _build_cmd { 'go vet' }
11+
sub _build_cmd { 'go tool vet' }
1212

1313
sub validate_file {
1414
my ( $self, $file ) = @_;

0 commit comments

Comments
 (0)