Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@appworks/doctor 代码重复检测结果错误 #1066

Open
wyong03112636 opened this issue May 9, 2023 · 0 comments
Open

@appworks/doctor 代码重复检测结果错误 #1066

wyong03112636 opened this issue May 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@wyong03112636
Copy link

wyong03112636 commented May 9, 2023

插件名/Extension: @appworks/doctor 0.5.0

您的本地环境信息/Your local environment information

  • 操作系统及其版本/System and Version:
  • Node version: 14.20.0
  • npm version: 6.14.7

您遇到的问题及复现步骤/What are your problems and how to reproduce them

const { Doctor } = require('@appworks/doctor');
const doctor = new Doctor({
    ignore: ['images'],
  });
  doctor
    .scan('./src', {
      framework: 'vue',
      tempFileDir: 'doctorResult',
      disableMaintainability: true,
      disableCodemod: true,
      disableStylelint: true,
    })
    .then((result) => {
      console.log(result)
  })

检测结果:
image

其中重复模块检测结果没有数据,但是检测输出的文件里,重复模块的检测是有数据的

您期待的正确结果/The right result you're looking forward to

image

@wyong03112636 wyong03112636 added the bug Something isn't working label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant