Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Do not warn when there are no charts if dependencies are present
Browse files Browse the repository at this point in the history
  • Loading branch information
John Esmet committed Feb 5, 2018
1 parent 9674d96 commit 2c646be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ankh/cmd/ankh/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ func execute(ctx *ankh.ExecutionContext) {

if len(rootAnkhFile.Charts) > 0 {
executeAnkhFile(rootAnkhFile)
} else {
ctx.Logger.Warningf("No charts specified inside %s, nothing to do", ctx.AnkhFilePath)
} else if len(dependencies) == 0 {
ctx.Logger.Warningf("No charts nor dependencies specified in ankh file %s, nothing to do", ctx.AnkhFilePath)
}
}

Expand Down

0 comments on commit 2c646be

Please sign in to comment.