Skip to content

Commit

Permalink
remove an extra if statement in program.go (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
KibuuleNoah authored Jun 16, 2024
1 parent f2d2ef1 commit c8c9202
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/program/program.go
Original file line number Diff line number Diff line change
Expand Up @@ -522,10 +522,6 @@ func (p *Project) CreateMainFile() error {
log.Printf("Could not install go dependency %v\n", err)
cobra.CheckErr(err)
}
if err != nil {
log.Printf("Could not install go dependency %v\n", err)
cobra.CheckErr(err)
}
} else {
helloGoTemplate := template.Must(template.New("efs").Parse((string(advanced.HelloGoTemplate()))))
err = helloGoTemplate.Execute(helloGoFile, p)
Expand Down

0 comments on commit c8c9202

Please sign in to comment.