Skip to content

Commit

Permalink
List changed fixes (#190)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Knurek <[email protected]>
  • Loading branch information
jeff-knurek authored and unguiculus committed Dec 8, 2019
1 parent b857274 commit b9d4ad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/chart/chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ func (t *Testing) ComputeChangedChartDirectories() ([]string, error) {
changedChartDirs = append(changedChartDirs, chartDir)
}
} else {
fmt.Printf("Directory '%s' is no chart directory. Skipping...", chartDir)
fmt.Printf("Directory '%s' is not a valid chart directory. Skipping...\n", dir)
}
}

Expand Down
1 change: 1 addition & 0 deletions pkg/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ func (u ChartUtils) LookupChartDir(chartDirs []string, dir string) (string, erro
for {
chartYaml := path.Join(currentDir, "Chart.yaml")
parent := path.Dir(path.Dir(chartYaml))
chartDir = strings.TrimRight(chartDir, "/") // remove any trailing slash from the dir

// check directory has a Chart.yaml and that it is in a
// direct subdirectory of a configured charts directory
Expand Down

0 comments on commit b9d4ad0

Please sign in to comment.