mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Merge branch 'develop' into dead-code-removal
This commit is contained in:
commit
a0e23fa6be
1 changed files with 0 additions and 9 deletions
|
|
@ -63,11 +63,6 @@ func NewCommand(opts ...server.CommandOption) *Command {
|
|||
m.Command.Stdout = &m.Stdout
|
||||
m.Command.Stderr = &m.Stderr
|
||||
|
||||
err = m.SetupServer()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
if testing.Verbose() {
|
||||
m.Command.Stdout = io.MultiWriter(os.Stdout, m.Command.Stdout)
|
||||
m.Command.Stderr = io.MultiWriter(os.Stderr, m.Command.Stderr)
|
||||
|
|
@ -117,10 +112,6 @@ func (m *Command) Reopen() error {
|
|||
config := m.Command.Config
|
||||
m.Command = server.NewCommand(os.Stdin, os.Stdout, os.Stderr, m.commandOptions...)
|
||||
m.Command.Config = config
|
||||
err := m.SetupServer()
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "setting up server")
|
||||
}
|
||||
|
||||
// Run new program.
|
||||
if err := m.Start(); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue