diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2019-08-19 05:02:05 +0000 |
---|---|---|
committer | Ash McKenzie <amckenzie@gitlab.com> | 2019-08-19 05:02:05 +0000 |
commit | 4d330cb1dd0fa2d6470d459fc33a987e8f550887 (patch) | |
tree | a11de1a5bb9a3c27bcd6c9b31c0663bd91c5c8c8 /support/go-format | |
parent | 81f5854513a527c3a00398e91930a12ebad70272 (diff) | |
download | gitlab-shell-4d330cb1dd0fa2d6470d459fc33a987e8f550887.tar.gz |
Use go mod
Diffstat (limited to 'support/go-format')
-rwxr-xr-x | support/go-format | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/go-format b/support/go-format index b5f47b7..59af23c 100755 --- a/support/go-format +++ b/support/go-format @@ -1,7 +1,7 @@ #!/usr/bin/env ruby def main(check) - go_files = Dir['go/**/*.go'].reject { |p| p.start_with?('go/vendor/') } + go_files = Dir['go/**/*.go'] cmd = %w[gofmt -s -l] cmd << '-w' unless check cmd += go_files |