From dcb0e351f84707dc8c3914e15c5ed61246c94db4 Mon Sep 17 00:00:00 2001 From: Johnson Chu Date: Tue, 24 Dec 2024 02:30:53 +0800 Subject: [PATCH] chore: remove version check --- packages/typescript-plugin/lib/utils.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/typescript-plugin/lib/utils.ts b/packages/typescript-plugin/lib/utils.ts index 07efbbd39c..7081a7eb50 100644 --- a/packages/typescript-plugin/lib/utils.ts +++ b/packages/typescript-plugin/lib/utils.ts @@ -9,10 +9,7 @@ import type { NotificationData, ProjectInfo, RequestData, ResponseData } from '. export { TypeScriptProjectHost } from '@volar/typescript'; -let { version } = require('../package.json'); -if (version === '2.1.10') { - version += '-dev'; -} +const { version } = require('../package.json'); const platform = os.platform(); const pipeDir = platform === 'win32' ? `\\\\.\\pipe\\`