Skip to content

Commit 9c0ebe7

Browse files
committed
fix: skip tool setup when not running full extension validation
1 parent 957d44d commit 9c0ebe7

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

cmd/extension/extension_validate.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ func init() {
120120
return fmt.Errorf("invalid mode: %s. Must be either 'highest' or 'lowest'", mode)
121121
}
122122

123-
return verifier.SetupTools(cmd.Root().Version)
123+
// Dont setup tools if we dont run full validation
124+
full, _ := cmd.Flags().GetBool("full")
125+
if !full {
126+
return nil
127+
}
128+
129+
return verifier.SetupTools("latest")
124130
}
125131
}

0 commit comments

Comments
 (0)