Skip to content

fs.unlink()需要加入回调参数 #486

@wyhimself

Description

@wyhimself

目录: ./route/signup.js
语句:
fs.unlink(req.files.avatar.path)
描述:
fs.unlink需要一个回调参数
fs.unlink(req.files.avatar.path,err=>{})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions