minor bug fixes

This commit is contained in:
alessio 2016-08-24 15:32:57 +02:00
parent 827306e64a
commit 88981acf51
1 changed files with 3 additions and 3 deletions

View File

@ -125,7 +125,7 @@ func (p *Project) watching() {
} }
} }
// Install call an implementation of the "go install" // Install calls an implementation of the "go install"
func (p *Project) install(channel chan bool, wr *sync.WaitGroup) { func (p *Project) install(channel chan bool, wr *sync.WaitGroup) {
if p.Bin { if p.Bin {
log.Println(pname(p.Name, 1), ":", "Installing..") log.Println(pname(p.Name, 1), ":", "Installing..")
@ -153,7 +153,7 @@ func (p *Project) install(channel chan bool, wr *sync.WaitGroup) {
return return
} }
// Build call an implementation of the "go build" // Build calls an implementation of the "go build"
func (p *Project) build() { func (p *Project) build() {
if p.Build { if p.Build {
log.Println(pname(p.Name, 1), ":", "Building..") log.Println(pname(p.Name, 1), ":", "Building..")
@ -168,7 +168,7 @@ func (p *Project) build() {
return return
} }
// Build call an implementation of the "gofmt" // Build calls an implementation of the "gofmt"
func (p *Project) fmt(path string) error { func (p *Project) fmt(path string) error {
if p.Fmt { if p.Fmt {
if msg, err := p.GoFmt(path); err != nil { if msg, err := p.GoFmt(path); err != nil {