From 9f997ca09795fe5df91f30a97647bc02ceb7dd43 Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Wed, 16 Jul 2025 11:28:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E7=A6=81fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangzezhong --- compiler/src/userIntents_parser/parseUserIntents.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/compiler/src/userIntents_parser/parseUserIntents.ts b/compiler/src/userIntents_parser/parseUserIntents.ts index 91bd351e0..1f86fc3df 100644 --- a/compiler/src/userIntents_parser/parseUserIntents.ts +++ b/compiler/src/userIntents_parser/parseUserIntents.ts @@ -135,17 +135,6 @@ class ParseIntent { private initInsightIntent(node: ts.ClassDeclaration, metaInfo: object, transformLog: LogInfo[], filePath: string): void { this.transformLog = transformLog; this.currentNode = node; - if (projectConfig.pkgContextInfo) { - const errorMessage: string = 'Generating standard OHMUrl failed with useNormalizedOHMUrl configuration not set to true. '; - this.transformLog.push({ - type: LogType.ERROR, - message: errorMessage, - pos: this.currentNode.getStart(), - code: '10101027', - description: 'InsightIntent Compiler Error', - solutions: ['Set useNormalizedOHMUrl to true in build-profile.json5'] - }); - } if (!this.isInitCache) { if (projectConfig.cachePath) { const cacheSourceMapPath: string = -- Gitee