Skip to content

doc: symlink docs contain erroneous sample code #40413

Description

@JacksonKearl

📗 API Reference Docs Problem

  • Version: 14, 16, possibly others
  • Platform: docs
  • Subsystem: fs

Location

Section of the site where the content exists

Affected URL(s):

Description

The example code should be:

import { symlink } from 'fs';

symlink('./mew', './mewtwo', callback);

rather than

import { symlink } from 'fs';

symlink('./mew', './example/mewtwo', callback);

image


  • I would like to work on this issue and
    submit a pull request.

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.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions