Skip to content

Commit

Permalink
Merge pull request #1663 from XiaoK29/dev
Browse files Browse the repository at this point in the history
chore(tool): delete tool cmd excess err judgment
  • Loading branch information
Marina-Sakai authored Jan 10, 2025
2 parents 962977b + df5b071 commit 7306cc8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tool/cmd/kitex/args/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,6 @@ func (a *Arguments) BuildCmd(out io.Writer) (*exec.Cmd, error) {
Stderr: io.MultiWriter(out, os.Stderr),
}

if err != nil {
return nil, err
}

if a.IDLType == "thrift" {
os.Setenv(EnvPluginMode, thriftgo.PluginName)
cmd.Args = append(cmd.Args, "thriftgo")
Expand Down

0 comments on commit 7306cc8

Please sign in to comment.