Upgrade to golangci-lint v2 (#775)

Upgrades golangci-lint from v1 to v2. Automated by Linear issue IT-144.

Co-authored-by: CI <ci@pulumi.com>
This commit is contained in:
Pulumi Bot
2026-02-25 12:40:02 -08:00
committed by GitHub
parent 1b95d18edc
commit e5da099be4
11 changed files with 69 additions and 50 deletions

View File

@@ -170,7 +170,7 @@ func hashFile(
if fileMode.IsDir() {
return nil
}
if !(fileMode.IsRegular() || fileMode.Type() == os.ModeSymlink) {
if !fileMode.IsRegular() && fileMode.Type() != os.ModeSymlink {
return nil
}