When calling the scan method of @appworks/doctor without passing any options, an error is thrown
huangguangfa opened this issue · comments
xy commented
插件名/Extension: @appworks/doctor
您的本地环境信息/Your local environment information
- 操作系统及其版本/System and Version: macos
- Node version: v16.13.1
- npm version: 8.1.2
您遇到的问题及复现步骤/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();