fix: removed debug output

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
pull/5165/head
Matt Butcher 7 years ago
parent cfcee69b7e
commit ab5778c9c2
No known key found for this signature in database
GPG Key ID: DCD5F5E5EF32C345

@ -109,9 +109,7 @@ func LoadArchive(in io.Reader) (*chart.Chart, error) {
return nil, errors.New("chart illegally contains absolute paths")
}
println("path", n)
n = path.Clean(n)
println(" cleaned", n)
if n == "." {
// In this case, the original path was relative when it should have been absolute.
return nil, errors.New("chart illegally contains empty path")

Loading…
Cancel
Save