fmt
This commit is contained in:
parent
a68962368d
commit
61fcefffe5
|
@ -118,7 +118,7 @@ func main() {
|
|||
if err := r.Record(r); err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Fprintln(style.Output,prefix(style.Green.Bold("Your project was successfully added.")))
|
||||
fmt.Fprintln(style.Output, prefix(style.Green.Bold("Your project was successfully added.")))
|
||||
return nil
|
||||
},
|
||||
Before: before,
|
||||
|
@ -790,7 +790,7 @@ func main() {
|
|||
if err := r.Record(r); err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Fprintln(style.Output,prefix(style.Green.Bold("Your configuration was successful.")))
|
||||
fmt.Fprintln(style.Output, prefix(style.Green.Bold("Your configuration was successful.")))
|
||||
return nil
|
||||
},
|
||||
Before: before,
|
||||
|
@ -810,7 +810,7 @@ func main() {
|
|||
if err := r.Record(r); err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Fprintln(style.Output,prefix(style.Green.Bold("Your project was successfully removed.")))
|
||||
fmt.Fprintln(style.Output, prefix(style.Green.Bold("Your project was successfully removed.")))
|
||||
return nil
|
||||
},
|
||||
Before: before,
|
||||
|
@ -834,7 +834,7 @@ func main() {
|
|||
if err := r.Settings.Remove(directory); err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Fprintln(style.Output,prefix(style.Green.Bold("Realize folder successfully removed.")))
|
||||
fmt.Fprintln(style.Output, prefix(style.Green.Bold("Realize folder successfully removed.")))
|
||||
return nil
|
||||
},
|
||||
Before: before,
|
||||
|
|
|
@ -6,9 +6,9 @@ import (
|
|||
"github.com/tockins/realize/style"
|
||||
cli "gopkg.in/urfave/cli.v2"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"time"
|
||||
"path/filepath"
|
||||
)
|
||||
|
||||
// Run launches the toolchain for each project
|
||||
|
@ -69,7 +69,7 @@ func (h *Blueprint) Run(p *cli.Context) error {
|
|||
|
||||
// base path of the project
|
||||
wd, err := os.Getwd()
|
||||
if err != nil{
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if element.path == "." || element.path == "/" {
|
||||
|
|
Loading…
Reference in New Issue