(bindir: str)
| 253 | return golangci_command, version_str |
| 254 | |
| 255 | def download_package(bindir: str) -> None: |
| 256 | output = run_pipe('curl', '-sfL', 'https://golangci-lint.run/install.sh', |
| 257 | verbose=True) |
| 258 | version_str = 'v' + '.'.join(map(str, GOLANGCI_LINT_REQUIRED_VERSION)) |
| 259 | run('sh', '-s', '--', '-b', bindir, version_str, verbose=True, stdin=output) |
| 260 | |
| 261 | if which(golangci_lint_path) is None: |
| 262 | bindir, binpath = get_gopath() |
no test coverage detected