Archived
1
0

refactor: warn plugin range incompatibble

This commit is contained in:
Joe Previte 2022-11-01 11:08:30 -07:00
parent 26c46beab8
commit 3736cffdca
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -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}`,
)
}