mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore: remove unnecessary redeclarations in for loops (part 2) (#18593)
This commit is contained in:
@@ -849,8 +849,6 @@ func verifyBinSha1IsCurrent(dest string, siteFS fs.FS, shaFiles map[string]strin
|
||||
|
||||
// Verify the hash of each on-disk binary.
|
||||
for file, hash1 := range shaFiles {
|
||||
file := file
|
||||
hash1 := hash1
|
||||
eg.Go(func() error {
|
||||
hash2, err := sha1HashFile(filepath.Join(dest, file))
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user