diff --git a/plugins/babel-plugin-canyon/package.json b/plugins/babel-plugin-canyon/package.json index 2952f2c1..cb0628e8 100644 --- a/plugins/babel-plugin-canyon/package.json +++ b/plugins/babel-plugin-canyon/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-canyon", - "version": "1.8.78-beta.40", + "version": "1.8.78-beta.41", "description": "", "scripts": { "release": "babel src --extensions \".ts\" --out-dir lib", diff --git a/plugins/babel-plugin-canyon/src/visitor-program-exit.ts b/plugins/babel-plugin-canyon/src/visitor-program-exit.ts index 7619edd1..6f69c73b 100644 --- a/plugins/babel-plugin-canyon/src/visitor-program-exit.ts +++ b/plugins/babel-plugin-canyon/src/visitor-program-exit.ts @@ -4,7 +4,7 @@ import generate from "@babel/generator"; // 关键参数 serviceParams ,它由 detectProvider 函数返回,手动设置的参数优先级高于 CI/CD 提供商 export const visitorProgramExit = (api,path,serviceParams) => { // 生成初始覆盖率数据 - console.log(serviceParams) +// console.log(serviceParams) generateInitialCoverage(generate(path.node).code) if (generate(path.node).code.includes('coverageData')) { const t = api.types;