mirror of
https://github.com/TECHNOFAB11/powerproto.git
synced 2025-12-12 08:00:04 +01:00
chore(*): update command error type
Signed-off-by: storyicon <yuanchao@bilibili.com>
This commit is contained in:
parent
a4d4c459ba
commit
1c73b92f0f
5 changed files with 9 additions and 9 deletions
|
|
@ -104,7 +104,7 @@ func (b *BasicCompiler) Compile(ctx context.Context, protoFilePath string) error
|
|||
b.Logger, b.dir, b.protocPath, arguments, nil)
|
||||
if err != nil {
|
||||
return &ErrCompile{
|
||||
ErrCommandExec: err,
|
||||
ErrCommandExec: err.(*command.ErrCommandExec),
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue