apptools-lab / AppWorks

🐻 基于 VS Code 插件的前端研发工具集,站点国内镜像:https://apptools.gitee.io
https://appworks.site/
MIT License
996 stars 181 forks source link

When calling the scan method of @appworks/doctor without passing any options, an error is thrown #1056

Open huangguangfa opened 1 year ago

huangguangfa commented 1 year ago

插件名/Extension: @appworks/doctor

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

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

import { Doctor } from '@appworks/doctor';

function start() { const doctor = new Doctor(); doctor.scan('path').then((result) => { console.log(result); }); }

start();

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