Skip to content

doc: symlink docs contain erroneous sample code #40413

@JacksonKearl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions