minor: Remove unused parameter

This commit is contained in:
世界
2023-08-16 16:48:23 +08:00
parent 7b79d98f59
commit 53a0bf2d11
2 changed files with 6 additions and 23 deletions

View File

@@ -32,7 +32,7 @@ func NewStandaloneCommandClient() *CommandClient {
return new(CommandClient)
}
func NewCommandClient(sharedDirectory string, handler CommandClientHandler, options *CommandClientOptions) *CommandClient {
func NewCommandClient(handler CommandClientHandler, options *CommandClientOptions) *CommandClient {
return &CommandClient{
handler: handler,
options: common.PtrValueOrDefault(options),