mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: remove unnecessary redeclarations in for loops (#18440)
This commit is contained in:
@@ -230,7 +230,6 @@ func hasMigrationDiff(dir string, a, b string) ([]string, error) {
|
||||
migrations := strings.Split(strings.TrimSpace(string(output)), "\n")
|
||||
filtered := make([]string, 0, len(migrations))
|
||||
for _, migration := range migrations {
|
||||
migration := migration
|
||||
if strings.Contains(migration, "fixtures") {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user