Files
hammer/recipes/disable-update-check.patch

12 lines
269 B
Diff

--- a/cmd/syft/internal/options/update_check.go
+++ b/cmd/syft/internal/options/update_check.go
@@ -8,7 +8,7 @@ type UpdateCheck struct {
func DefaultUpdateCheck() UpdateCheck {
return UpdateCheck{
- CheckForAppUpdate: true,
+ CheckForAppUpdate: false,
}
}