Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
check both fields
  • Loading branch information
frankli0324 committed Oct 30, 2025
commit 1d17f5af7dc588a8081d81b174ff87f79b402a6c
2 changes: 2 additions & 0 deletions internal/ext/process/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ func (r *Runner) Invoke(ctx context.Context, method string, args any, reply any,
}
cmd = exec.CommandContext(ctx, path, method)
cmd.Args = []string{"run", r.GoPkg}
case r.Cmd != "" && r.GoPkg != "":
return fmt.Errorf("only one of cmd or go_package is allowed")
default:
return fmt.Errorf("cmd and go_package cannot both be empty for process plugin")
}
Expand Down
Loading