diff --git a/packages/canyon-backend/src/project/services/get-project-record-detail-by-sha.service.ts b/packages/canyon-backend/src/project/services/get-project-record-detail-by-sha.service.ts index 88cbc66f..ec928ed2 100644 --- a/packages/canyon-backend/src/project/services/get-project-record-detail-by-sha.service.ts +++ b/packages/canyon-backend/src/project/services/get-project-record-detail-by-sha.service.ts @@ -38,7 +38,6 @@ export class GetProjectRecordDetailByShaService { for (let i = 0; i < coverages.length; i++) { const coverage = coverages[i]; - console.log(coverage.reporter, "coverage.reporter"); const data = { ...coverage, relationID: "", diff --git a/packages/canyon-platform/src/components/CanyonReport/loadShiki.ts b/packages/canyon-platform/src/components/CanyonReport/loadShiki.ts index 4214df77..fb4d62d4 100644 --- a/packages/canyon-platform/src/components/CanyonReport/loadShiki.ts +++ b/packages/canyon-platform/src/components/CanyonReport/loadShiki.ts @@ -4,6 +4,7 @@ import lightplus from "shiki/themes/light-plus.mjs"; import tokyoNight from "shiki/themes/tokyo-night.mjs"; import css from "shiki/langs/css.mjs"; import jscss from "shiki/langs/javascript.mjs"; +import json from "shiki/langs/json.mjs"; import { createOnigurumaEngine } from "shiki/engine/oniguruma"; export const createHighlighterCoreInstance = async () => { @@ -13,7 +14,7 @@ export const createHighlighterCoreInstance = async () => { lightplus, tokyoNight, ], - langs: [css, jscss], + langs: [css, jscss,json], // `shiki/wasm` contains the wasm binary inlined as base64 string. engine: createOnigurumaEngine(getWasm), });