mirror of
https://github.com/duanhf2012/origin.git
synced 2026-04-29 08:27:29 +08:00
优化蓝图错误判断
This commit is contained in:
@@ -160,7 +160,7 @@ func (gr *Graph) Do(entranceID int64, args ...any) (Port_Array, error) {
|
||||
|
||||
entranceNode := gr.entrance[entranceID]
|
||||
if entranceNode == nil {
|
||||
return nil, fmt.Errorf("entranceID:%d not found", entranceID)
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
gr.variables = map[string]IPort{}
|
||||
|
||||
Reference in New Issue
Block a user