backend/plan: Show warnings even if no changes are needed

This commit is contained in:
Yuri Astrakhan 2020-02-19 18:59:15 -05:00 committed by GitHub
parent 9a65e02b20
commit 6eb968531d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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
}