Skip to content

In "fs.copyFile(src, dest[, mode], callback)" , for callback,'err' is not defined. #53230

Closed
@Vikranthraosb

Description

@Vikranthraosb

Affected URL(s)

https://nodejs.org/docs/latest/api/fs.html#fscopyfilesrc-dest-mode-callback

Description of the problem

There should be an "err" in the callback function for copyFile model, which is absent. Please do add it..

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.fsIssues and PRs related to the fs subsystem / file system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions