fmt fixed
This commit is contained in:
parent
0df1d44abf
commit
441efbf9ba
2
cmd.go
2
cmd.go
@ -137,7 +137,7 @@ func (r *realize) run(p *cli.Context) error {
|
||||
//}
|
||||
if elm.Cmds.Fmt.Status {
|
||||
if len(elm.Cmds.Fmt.Args) == 0 {
|
||||
elm.Cmds.Fmt.Args = []string{"-s", "-w", "-e", "./.."}
|
||||
elm.Cmds.Fmt.Args = []string{"-s", "-w", "-e", "./"}
|
||||
}
|
||||
r.Schema[k].tools = append(r.Schema[k].tools, tool{
|
||||
status: elm.Cmds.Fmt.Status,
|
||||
|
@ -90,7 +90,7 @@ type BufferOut struct {
|
||||
|
||||
// Watch the project
|
||||
func (p *Project) watch() {
|
||||
p.watcher, _ = Watcher()
|
||||
p.watcher, _ = Watcher(r.Settings.Legacy.Force, r.Settings.Legacy.Interval)
|
||||
stop, exit := make(chan bool), make(chan os.Signal, 2)
|
||||
signal.Notify(exit, os.Interrupt, syscall.SIGTERM)
|
||||
// before global commands
|
||||
|
Loading…
Reference in New Issue
Block a user