mirror of https://github.com/coder/code-server.git
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"])) {
|
||||
throw new Error(
|
||||
this.logger.warn(
|
||||
`plugin range ${q(packageJSON.engines["code-server"])} incompatible` + ` with code-server version ${version}`,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue