refactor: warn plugin range incompatibble
This commit is contained in:
parent
26c46beab8
commit
3736cffdca
@ -227,7 +227,7 @@ export class PluginAPI {
|
|||||||
`)
|
`)
|
||||||
}
|
}
|
||||||
if (!semver.satisfies(version, packageJSON.engines["code-server"])) {
|
if (!semver.satisfies(version, packageJSON.engines["code-server"])) {
|
||||||
throw new Error(
|
this.logger.warn(
|
||||||
`plugin range ${q(packageJSON.engines["code-server"])} incompatible` + ` with code-server version ${version}`,
|
`plugin range ${q(packageJSON.engines["code-server"])} incompatible` + ` with code-server version ${version}`,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user