We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53bb5fb + 0d16190 commit db24859Copy full SHA for db24859
Rakefile
@@ -41,6 +41,9 @@ namespace :go do
41
42
desc "Run golangci-lint"
43
task :lint do
44
+ sh "which golangci-lint" do |ok, _|
45
+ raise "golangci-lint isn't installed. See. https://golangci-lint.run/welcome/install/" unless ok
46
+ end
47
sh env_vars, "golangci-lint run"
48
end
49
0 commit comments