Skip to content

Commit 6aa932c

Browse files
committed
Skip tool verification when using system tool
1 parent 2ddc395 commit 6aa932c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/tools/base_tool.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,12 @@ func (b *BaseTool) Verify(installDir, version string, cfg config.ToolConfig) err
240240

241241
// VerifyWithConfig performs comprehensive verification using configuration
242242
func (b *BaseTool) VerifyWithConfig(version string, cfg config.ToolConfig, verifyConfig VerificationConfig) error {
243+
// If using system tool, skip mvx-managed verification entirely
244+
if UseSystemTool(b.toolName) {
245+
util.LogVerbose("Skipping %s verification: %s=true (using system tool)", b.toolName, getSystemToolEnvVar(b.toolName))
246+
return nil
247+
}
248+
243249
// Get tool path
244250
_, err := b.manager.GetTool(b.toolName)
245251
if err != nil {

0 commit comments

Comments
 (0)