From 3736cffdca118cc6dbde345f4dd199b23a611490 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 1 Nov 2022 11:08:30 -0700 Subject: [PATCH] refactor: warn plugin range incompatibble --- src/node/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/plugin.ts b/src/node/plugin.ts index 69f32720c..85c588c9a 100644 --- a/src/node/plugin.ts +++ b/src/node/plugin.ts @@ -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}`, ) }