backend/plan: Show warnings even if no changes are needed
This commit is contained in:
parent
9a65e02b20
commit
6eb968531d
|
@ -162,6 +162,8 @@ func (b *Local) opPlan(
|
|||
|
||||
if plan.Changes.Empty() {
|
||||
b.CLI.Output("\n" + b.Colorize().Color(strings.TrimSpace(planNoChanges)))
|
||||
// Even if there are no changes, there still could be some warnings
|
||||
b.ShowDiagnostics(diags)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue