commit
870ad21fdd
|
@ -14,7 +14,7 @@ func TestProject_GoCompile(t *testing.T) {
|
||||||
t.Error("Unexpected", err)
|
t.Error("Unexpected", err)
|
||||||
}
|
}
|
||||||
go func() {
|
go func() {
|
||||||
result, err = p.goCompile(stop, []string{"sleep"}, []string{"20s"})
|
result, _ = p.goCompile(stop, []string{"sleep"}, []string{"20s"})
|
||||||
response <- result
|
response <- result
|
||||||
}()
|
}()
|
||||||
close(stop)
|
close(stop)
|
||||||
|
|
|
@ -32,7 +32,7 @@ const (
|
||||||
|
|
||||||
// Settings defines a group of general settings and options
|
// Settings defines a group of general settings and options
|
||||||
type Settings struct {
|
type Settings struct {
|
||||||
file string `yaml:"-" json:"-"`
|
file string
|
||||||
Files `yaml:"files,omitempty" json:"files,omitempty"`
|
Files `yaml:"files,omitempty" json:"files,omitempty"`
|
||||||
FileLimit int64 `yaml:"flimit,omitempty" json:"flimit,omitempty"`
|
FileLimit int64 `yaml:"flimit,omitempty" json:"flimit,omitempty"`
|
||||||
Legacy Legacy `yaml:"legacy" json:"legacy"`
|
Legacy Legacy `yaml:"legacy" json:"legacy"`
|
||||||
|
|
|
@ -137,7 +137,6 @@ func (s *Settings) record(out interface{}) error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return s.write(filepath.Join(Directory, s.File), y)
|
return s.write(filepath.Join(Directory, s.File), y)
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Stream return a byte stream of a given file
|
// Stream return a byte stream of a given file
|
||||||
|
|
Loading…
Reference in New Issue