Commit 9a399c67 authored by Jack Greenfield's avatar Jack Greenfield

Merge pull request #411 from shawnps/patch-7

remove unused variable
parents 92db089c 4450d6d6
......@@ -45,11 +45,7 @@ func Save(c *Chart, outDir string) (string, error) {
cfile := c.Chartfile()
dir := c.Dir()
basename := filepath.Base(dir)
pdir := filepath.Dir(dir)
if basename == "." {
basename = fname(cfile.Name)
}
filename := fmt.Sprintf("%s-%s.tgz", fname(cfile.Name), cfile.Version)
filename = filepath.Join(outDir, filename)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment