remove unused variable

pull/411/head
Shawn Smith 9 years ago
parent e988ca1ac5
commit 4450d6d652

@ -45,11 +45,7 @@ func Save(c *Chart, outDir string) (string, error) {
cfile := c.Chartfile() cfile := c.Chartfile()
dir := c.Dir() dir := c.Dir()
basename := filepath.Base(dir)
pdir := filepath.Dir(dir) pdir := filepath.Dir(dir)
if basename == "." {
basename = fname(cfile.Name)
}
filename := fmt.Sprintf("%s-%s.tgz", fname(cfile.Name), cfile.Version) filename := fmt.Sprintf("%s-%s.tgz", fname(cfile.Name), cfile.Version)
filename = filepath.Join(outDir, filename) filename = filepath.Join(outDir, filename)

Loading…
Cancel
Save