From 04390999a1979dc1bd6f0d9ab9facb58d4ae245c Mon Sep 17 00:00:00 2001 From: Dave Gaeddert Date: Tue, 10 Sep 2019 09:10:03 -0500 Subject: [PATCH] Log when lockfile or manifest updates disabled --- internal/runner/updates.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/runner/updates.go b/internal/runner/updates.go index 164e896..38685c8 100644 --- a/internal/runner/updates.go +++ b/internal/runner/updates.go @@ -48,6 +48,8 @@ func newUpdatesFromDependencies(dependencies *schema.Dependencies, dependencyCon updates.add(&updateDependencies, dependencyConfig) } + } else { + output.Event("Lockfile updates disbled") } if *dependencyConfig.ManifestUpdates.Enabled { @@ -87,6 +89,8 @@ func newUpdatesFromDependencies(dependencies *schema.Dependencies, dependencyCon updates.add(&updateDependencies, dependencyConfig) } } + } else { + output.Event("Manifest updates disbled") } return updates, nil