Skip to content

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

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..

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to Node.js documentation.fsIssues and PRs related to file-system APIs and the fs module.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions