databricks-cli/integration/cmd/fs
Denis Bilenko b273dc5942
Enable linter 'copyloopvar' and fix the issues ()
## Changes
- Remove all unnecessary copies of the loop variable, it is not
necessary since Go 1.22 https://go.dev/blog/loopvar-preview
- Enable the linter that catches this issue
https://github.com/karamaru-alpha/copyloopvar

## Tests
Existing tests.
2025-01-16 11:20:50 +00:00
..
cat_test.go Enable linter 'copyloopvar' and fix the issues () 2025-01-16 11:20:50 +00:00
completion_test.go Enable perfsprint linter and apply autofix () 2025-01-07 10:49:23 +00:00
cp_test.go Enable linter 'copyloopvar' and fix the issues () 2025-01-16 11:20:50 +00:00
helpers_test.go Move integration test helpers to `integration/internal` () 2024-12-17 08:45:58 +01:00
ls_test.go Enable linter 'copyloopvar' and fix the issues () 2025-01-16 11:20:50 +00:00
mkdir_test.go Enable linter 'copyloopvar' and fix the issues () 2025-01-16 11:20:50 +00:00
rm_test.go Enable linter 'copyloopvar' and fix the issues () 2025-01-16 11:20:50 +00:00