actually skip compat check
This commit is contained in:
@@ -89,7 +89,7 @@ export async function resolvePathPluginTarget(spec: string) {
|
||||
}
|
||||
|
||||
export async function checkPluginCompatibility(target: string, opencodeVersion: string) {
|
||||
if (!semver.valid(opencodeVersion) || semver.eq(opencodeVersion, "0.0.0")) return
|
||||
if (!semver.valid(opencodeVersion) || semver.major(opencodeVersion) === 0) return
|
||||
const pkg = await readPluginPackage(target).catch(() => undefined)
|
||||
if (!pkg) return
|
||||
const engines = pkg.json.engines
|
||||
|
||||
Reference in New Issue
Block a user