fix duplicated dir

This commit is contained in:
jharshman
2019-06-07 10:31:03 -04:00
committed by Steve Francia
parent 221bae3986
commit 3c42f846c2
+1 -1
View File
@@ -91,7 +91,7 @@ func (p *Project) createLicenseFile() error {
}
func (c *Command) Create() error {
cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.Project.AbsolutePath, c.CmdName))
cmdFile, err := os.Create(fmt.Sprintf("%s/%s.go", c.Project.AbsolutePath, c.CmdName))
if err != nil {
return err
}