From 91dbcb7ffee662057bde52378f2a79381b4aef6b Mon Sep 17 00:00:00 2001 From: jharshman Date: Tue, 29 Jan 2019 20:26:08 -0800 Subject: [PATCH] remove commented code --- cobra/cmd/project.go | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/cobra/cmd/project.go b/cobra/cmd/project.go index ab34983..1b97c3d 100644 --- a/cobra/cmd/project.go +++ b/cobra/cmd/project.go @@ -76,23 +76,6 @@ func (p *Project) createLicenseFile() error { return licenseTemplate.Execute(licenseFile, data) } -//func createLicenseFile(license License, path string) { -// data := make(map[string]interface{}) -// data["copyright"] = copyrightLine() -// -// // Generate license template from text and data. -// text, err := executeTemplate(license.Text, data) -// if err != nil { -// er(err) -// } -// -// // Write license text to LICENSE file. -// err = writeStringToFile(filepath.Join(path, "LICENSE"), text) -// if err != nil { -// er(err) -// } -//} - // NewProject returns Project with specified project name. func NewProject(projectName string) *Project { if projectName == "" {