[add] Neo prepare match sid support
This commit is contained in:
parent
dd05336443
commit
deefe6db70
2 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ type Optional struct {
|
|||
|
||||
// Context the context
|
||||
type Context struct {
|
||||
Sid string `json:"-" yaml:"-"`
|
||||
Sid string `json:"sid" yaml:"-"`
|
||||
Stack string `json:"stack,omitempty"`
|
||||
Path string `json:"pathname,omitempty"`
|
||||
context.Context `json:"-" yaml:"-"`
|
||||
|
|
|
|||
|
|
@ -303,7 +303,7 @@ func (neo *DSL) prepare(ctx command.Context, messages []map[string]interface{})
|
|||
return prompts
|
||||
}
|
||||
|
||||
data, err := p.Exec()
|
||||
data, err := p.WithSID(ctx.Sid).Exec()
|
||||
if err != nil {
|
||||
color.Red("Neo prepare execute error: %s", err.Error())
|
||||
return prompts
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue