Closed BiraruYT closed 5 months ago
You need to await
the response of init
. Your should look like this:
async function scanFile {
const clamscan = await new NodeClam().init({ // You didn't have the "await" here
// everything else ...
});
}
Did it like this: