fix duplicated dir

This commit is contained in:
jharshman 2019-01-30 01:38:24 -08:00 committed by Steve Francia
parent 221bae3986
commit 3c42f846c2
1 changed files with 1 additions and 1 deletions

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
}