minor: Remove unused parameter

This commit is contained in:
世界
2023-08-16 16:48:23 +08:00
parent deec0c20e7
commit 5a36f9cfad
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),