diff --git a/components/ide/code/codehelper/main.go b/components/ide/code/codehelper/main.go index 780b2b3f47b48d..18ab6efd7c74f6 100644 --- a/components/ide/code/codehelper/main.go +++ b/components/ide/code/codehelper/main.go @@ -174,7 +174,7 @@ func getExtensions(repoRoot string) (extensions []Extension, err error) { return } if config == nil || config.Vscode == nil { - err = errors.New("config.vscode field not exists: " + err.Error()) + err = errors.New("config.vscode field not exists") return } var wg sync.WaitGroup