hjyssg / ShiguReader

硬核宅宅资源管理器. Ultimate Manga Resource Manager
MIT License
397 stars 45 forks source link

test with Node.js 14 #114

Closed hjyssg closed 3 years ago

hjyssg commented 3 years ago

the current version is 12

need to update

async function mkdir(path, quiet){
    try {
        if(!(await isExist(path))){
            const err = await pfs.mkdir(path, { recursive: true});
            if(err){
                throw err;
            }
        }
    }catch(err){
        console.log(err)
        if(!quiet){
            throw err;
        }
    }
}
hjyssg commented 3 years ago

done