pulumi/sdk/go/common/util/executable
Fraser Waters 7bed5ddbcc
Fix potential nil panic in FindExecutable (#16966)
Found by https://github.com/uber-go/nilaway

If Stat returned an error other than `IsNotExist` we would attempt to
dereference the fileInfo and trigger a nil access.

This fixes it so Stat errors are returned as errors (except for
`IsNotExist`).
2024-08-14 08:25:06 +00:00
..
executable.go Fix potential nil panic in FindExecutable (#16966) 2024-08-14 08:25:06 +00:00
executable_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00